public static enum ListProtectionPoliciesRequest.SortBy extends Enum<ListProtectionPoliciesRequest.SortBy> implements BmcEnum
The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If you do not specify a value, then TIMECREATED is used as the default sort order. Allowed values are: - TIMECREATED - DISPLAYNAME
Enum Constant and Description |
---|
DisplayName |
TimeCreated |
Modifier and Type | Method and Description |
---|---|
static ListProtectionPoliciesRequest.SortBy |
create(String key) |
String |
getValue() |
static ListProtectionPoliciesRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListProtectionPoliciesRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListProtectionPoliciesRequest.SortBy TimeCreated
public static final ListProtectionPoliciesRequest.SortBy DisplayName
public static ListProtectionPoliciesRequest.SortBy[] values()
for (ListProtectionPoliciesRequest.SortBy c : ListProtectionPoliciesRequest.SortBy.values()) System.out.println(c);
public static ListProtectionPoliciesRequest.SortBy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ListProtectionPoliciesRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.