Package com.oracle.bmc.apigateway.model
Enum FilterQueryParameterPolicy.Type
- java.lang.Object
-
- java.lang.Enum<FilterQueryParameterPolicy.Type>
-
- com.oracle.bmc.apigateway.model.FilterQueryParameterPolicy.Type
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<FilterQueryParameterPolicy.Type>
- Enclosing class:
- FilterQueryParameterPolicy
public static enum FilterQueryParameterPolicy.Type extends Enum<FilterQueryParameterPolicy.Type> implements BmcEnum
BLOCK drops any query parameters that are in the list of items, so it acts as an exclusion list.ALLOW permits only the parameters in the list and removes all others, so it acts as an inclusion list.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Allow
Block
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilterQueryParameterPolicy.Type
create(String key)
String
getValue()
static FilterQueryParameterPolicy.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static FilterQueryParameterPolicy.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Allow
public static final FilterQueryParameterPolicy.Type Allow
-
Block
public static final FilterQueryParameterPolicy.Type Block
-
UnknownEnumValue
public static final FilterQueryParameterPolicy.Type UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static FilterQueryParameterPolicy.Type[] 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 (FilterQueryParameterPolicy.Type c : FilterQueryParameterPolicy.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilterQueryParameterPolicy.Type 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 FilterQueryParameterPolicy.Type create(String key)
-
-