Enum ErrorCode
- java.lang.Object
-
- java.lang.Enum<ErrorCode>
-
- software.amazon.awssdk.services.eks.model.ErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorCode>
@Generated("software.amazon.awssdk:codegen") public enum ErrorCode extends Enum<ErrorCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorCodefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ErrorCode>knownValues()StringtoString()static ErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBNET_NOT_FOUND
public static final ErrorCode SUBNET_NOT_FOUND
-
SECURITY_GROUP_NOT_FOUND
public static final ErrorCode SECURITY_GROUP_NOT_FOUND
-
ENI_LIMIT_REACHED
public static final ErrorCode ENI_LIMIT_REACHED
-
IP_NOT_AVAILABLE
public static final ErrorCode IP_NOT_AVAILABLE
-
ACCESS_DENIED
public static final ErrorCode ACCESS_DENIED
-
OPERATION_NOT_PERMITTED
public static final ErrorCode OPERATION_NOT_PERMITTED
-
VPC_ID_NOT_FOUND
public static final ErrorCode VPC_ID_NOT_FOUND
-
UNKNOWN
public static final ErrorCode UNKNOWN
-
NODE_CREATION_FAILURE
public static final ErrorCode NODE_CREATION_FAILURE
-
POD_EVICTION_FAILURE
public static final ErrorCode POD_EVICTION_FAILURE
-
INSUFFICIENT_FREE_ADDRESSES
public static final ErrorCode INSUFFICIENT_FREE_ADDRESSES
-
CLUSTER_UNREACHABLE
public static final ErrorCode CLUSTER_UNREACHABLE
-
INSUFFICIENT_NUMBER_OF_REPLICAS
public static final ErrorCode INSUFFICIENT_NUMBER_OF_REPLICAS
-
CONFIGURATION_CONFLICT
public static final ErrorCode CONFIGURATION_CONFLICT
-
ADMISSION_REQUEST_DENIED
public static final ErrorCode ADMISSION_REQUEST_DENIED
-
UNSUPPORTED_ADDON_MODIFICATION
public static final ErrorCode UNSUPPORTED_ADDON_MODIFICATION
-
K8_S_RESOURCE_NOT_FOUND
public static final ErrorCode K8_S_RESOURCE_NOT_FOUND
-
UNKNOWN_TO_SDK_VERSION
public static final ErrorCode UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ErrorCode[] 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 (ErrorCode c : ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorCode 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
-
fromValue
public static ErrorCode 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:
- ErrorCode corresponding to the value
-
-