Enum ApiCacheType
- java.lang.Object
-
- java.lang.Enum<ApiCacheType>
-
- software.amazon.awssdk.services.appsync.model.ApiCacheType
-
- All Implemented Interfaces:
Serializable,Comparable<ApiCacheType>
@Generated("software.amazon.awssdk:codegen") public enum ApiCacheType extends Enum<ApiCacheType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LARGELARGE_12_XLARGE_2_XLARGE_4_XLARGE_8_XMEDIUMR4_2_XLARGER4_4_XLARGER4_8_XLARGER4_LARGER4_XLARGESMALLT2_MEDIUMT2_SMALLUNKNOWN_TO_SDK_VERSIONXLARGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApiCacheTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ApiCacheType>knownValues()StringtoString()static ApiCacheTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ApiCacheType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
T2_SMALL
public static final ApiCacheType T2_SMALL
-
T2_MEDIUM
public static final ApiCacheType T2_MEDIUM
-
R4_LARGE
public static final ApiCacheType R4_LARGE
-
R4_XLARGE
public static final ApiCacheType R4_XLARGE
-
R4_2_XLARGE
public static final ApiCacheType R4_2_XLARGE
-
R4_4_XLARGE
public static final ApiCacheType R4_4_XLARGE
-
R4_8_XLARGE
public static final ApiCacheType R4_8_XLARGE
-
SMALL
public static final ApiCacheType SMALL
-
MEDIUM
public static final ApiCacheType MEDIUM
-
LARGE
public static final ApiCacheType LARGE
-
XLARGE
public static final ApiCacheType XLARGE
-
LARGE_2_X
public static final ApiCacheType LARGE_2_X
-
LARGE_4_X
public static final ApiCacheType LARGE_4_X
-
LARGE_8_X
public static final ApiCacheType LARGE_8_X
-
LARGE_12_X
public static final ApiCacheType LARGE_12_X
-
UNKNOWN_TO_SDK_VERSION
public static final ApiCacheType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ApiCacheType[] 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 (ApiCacheType c : ApiCacheType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApiCacheType 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<ApiCacheType>
-
fromValue
public static ApiCacheType 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:
- ApiCacheType corresponding to the value
-
knownValues
public static Set<ApiCacheType> 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 knownApiCacheTypes
-
-