public static enum FilterHeaderPolicy.Type extends Enum<FilterHeaderPolicy.Type> implements BmcEnum
BLOCK drops any headers that are in the list of items, so it acts as an exclusion list. ALLOW permits only the headers in the list and removes all others, so it acts as an inclusion list.
Enum Constant and 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.
|
Modifier and Type | Method and Description |
---|---|
static FilterHeaderPolicy.Type |
create(String key) |
String |
getValue() |
static FilterHeaderPolicy.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterHeaderPolicy.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterHeaderPolicy.Type Allow
public static final FilterHeaderPolicy.Type Block
public static final FilterHeaderPolicy.Type UnknownEnumValue
public static FilterHeaderPolicy.Type[] values()
for (FilterHeaderPolicy.Type c : FilterHeaderPolicy.Type.values()) System.out.println(c);
public static FilterHeaderPolicy.Type 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 FilterHeaderPolicy.Type create(String key)
Copyright © 2016–2025. All rights reserved.