Enum HeaderEnum
- java.lang.Object
-
- java.lang.Enum<HeaderEnum>
-
- software.amazon.awssdk.services.lightsail.model.HeaderEnum
-
- All Implemented Interfaces:
Serializable,Comparable<HeaderEnum>
@Generated("software.amazon.awssdk:codegen") public enum HeaderEnum extends Enum<HeaderEnum>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HeaderEnumfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<HeaderEnum>knownValues()StringtoString()static HeaderEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static HeaderEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPT
public static final HeaderEnum ACCEPT
-
ACCEPT_CHARSET
public static final HeaderEnum ACCEPT_CHARSET
-
ACCEPT_DATETIME
public static final HeaderEnum ACCEPT_DATETIME
-
ACCEPT_ENCODING
public static final HeaderEnum ACCEPT_ENCODING
-
ACCEPT_LANGUAGE
public static final HeaderEnum ACCEPT_LANGUAGE
-
AUTHORIZATION
public static final HeaderEnum AUTHORIZATION
-
CLOUD_FRONT_FORWARDED_PROTO
public static final HeaderEnum CLOUD_FRONT_FORWARDED_PROTO
-
CLOUD_FRONT_IS_DESKTOP_VIEWER
public static final HeaderEnum CLOUD_FRONT_IS_DESKTOP_VIEWER
-
CLOUD_FRONT_IS_MOBILE_VIEWER
public static final HeaderEnum CLOUD_FRONT_IS_MOBILE_VIEWER
-
CLOUD_FRONT_IS_SMART_TV_VIEWER
public static final HeaderEnum CLOUD_FRONT_IS_SMART_TV_VIEWER
-
CLOUD_FRONT_IS_TABLET_VIEWER
public static final HeaderEnum CLOUD_FRONT_IS_TABLET_VIEWER
-
CLOUD_FRONT_VIEWER_COUNTRY
public static final HeaderEnum CLOUD_FRONT_VIEWER_COUNTRY
-
HOST
public static final HeaderEnum HOST
-
ORIGIN
public static final HeaderEnum ORIGIN
-
REFERER
public static final HeaderEnum REFERER
-
UNKNOWN_TO_SDK_VERSION
public static final HeaderEnum UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static HeaderEnum[] 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 (HeaderEnum c : HeaderEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HeaderEnum 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<HeaderEnum>
-
fromValue
public static HeaderEnum fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- HeaderEnum corresponding to the value
-
knownValues
public static Set<HeaderEnum> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownHeaderEnums
-
-