@Generated(value="software.amazon.awssdk:codegen") public enum ReferrerPolicyList extends Enum<ReferrerPolicyList>
| Enum Constant and Description |
|---|
NO_REFERRER |
NO_REFERRER_WHEN_DOWNGRADE |
ORIGIN |
ORIGIN_WHEN_CROSS_ORIGIN |
SAME_ORIGIN |
STRICT_ORIGIN |
STRICT_ORIGIN_WHEN_CROSS_ORIGIN |
UNKNOWN_TO_SDK_VERSION |
UNSAFE_URL |
| Modifier and Type | Method and Description |
|---|---|
static ReferrerPolicyList |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<ReferrerPolicyList> |
knownValues()
|
String |
toString() |
static ReferrerPolicyList |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferrerPolicyList[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferrerPolicyList NO_REFERRER
public static final ReferrerPolicyList NO_REFERRER_WHEN_DOWNGRADE
public static final ReferrerPolicyList ORIGIN
public static final ReferrerPolicyList ORIGIN_WHEN_CROSS_ORIGIN
public static final ReferrerPolicyList SAME_ORIGIN
public static final ReferrerPolicyList STRICT_ORIGIN
public static final ReferrerPolicyList STRICT_ORIGIN_WHEN_CROSS_ORIGIN
public static final ReferrerPolicyList UNSAFE_URL
public static final ReferrerPolicyList UNKNOWN_TO_SDK_VERSION
public static ReferrerPolicyList[] values()
for (ReferrerPolicyList c : ReferrerPolicyList.values()) System.out.println(c);
public static ReferrerPolicyList 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 String toString()
toString in class Enum<ReferrerPolicyList>public static ReferrerPolicyList fromValue(String value)
value - real valuepublic static Set<ReferrerPolicyList> knownValues()
values() to return a Set of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION.Set of known ReferrerPolicyListsCopyright © 2021. All rights reserved.