@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum ReferrerPolicyList extends Enum<ReferrerPolicyList>
Enum Constant and Description |
---|
NoReferrer |
NoReferrerWhenDowngrade |
Origin |
OriginWhenCrossOrigin |
SameOrigin |
StrictOrigin |
StrictOriginWhenCrossOrigin |
UnsafeUrl |
Modifier and Type | Method and Description |
---|---|
static ReferrerPolicyList |
fromValue(String value)
Use this in place of valueOf.
|
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 NoReferrer
public static final ReferrerPolicyList NoReferrerWhenDowngrade
public static final ReferrerPolicyList Origin
public static final ReferrerPolicyList OriginWhenCrossOrigin
public static final ReferrerPolicyList SameOrigin
public static final ReferrerPolicyList StrictOrigin
public static final ReferrerPolicyList StrictOriginWhenCrossOrigin
public static final ReferrerPolicyList UnsafeUrl
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 valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.