Package com.oracle.bmc.waas.requests
Enum ListCustomProtectionRulesRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListCustomProtectionRulesRequest.SortBy>
-
- com.oracle.bmc.waas.requests.ListCustomProtectionRulesRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListCustomProtectionRulesRequest.SortBy>
- Enclosing class:
- ListCustomProtectionRulesRequest
public static enum ListCustomProtectionRulesRequest.SortBy extends Enum<ListCustomProtectionRulesRequest.SortBy> implements BmcEnum
The value by which custom protection rules are sorted in a paginated ‘List’ call.If unspecified, defaults to timeCreated.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CompartmentId
DisplayName
Id
ModSecurityRuleId
TimeCreated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListCustomProtectionRulesRequest.SortBy
create(String key)
String
getValue()
static ListCustomProtectionRulesRequest.SortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListCustomProtectionRulesRequest.SortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Id
public static final ListCustomProtectionRulesRequest.SortBy Id
-
CompartmentId
public static final ListCustomProtectionRulesRequest.SortBy CompartmentId
-
DisplayName
public static final ListCustomProtectionRulesRequest.SortBy DisplayName
-
ModSecurityRuleId
public static final ListCustomProtectionRulesRequest.SortBy ModSecurityRuleId
-
TimeCreated
public static final ListCustomProtectionRulesRequest.SortBy TimeCreated
-
-
Method Detail
-
values
public static ListCustomProtectionRulesRequest.SortBy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ListCustomProtectionRulesRequest.SortBy c : ListCustomProtectionRulesRequest.SortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListCustomProtectionRulesRequest.SortBy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static ListCustomProtectionRulesRequest.SortBy create(String key)
-
-