Enum EntityRejectionErrorType
- java.lang.Object
-
- java.lang.Enum<EntityRejectionErrorType>
-
- software.amazon.awssdk.services.cloudwatchlogs.model.EntityRejectionErrorType
-
- All Implemented Interfaces:
Serializable,Comparable<EntityRejectionErrorType>
@Generated("software.amazon.awssdk:codegen") public enum EntityRejectionErrorType extends Enum<EntityRejectionErrorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTITY_SIZE_TOO_LARGEINVALID_ATTRIBUTESINVALID_ENTITYINVALID_KEY_ATTRIBUTESINVALID_TYPE_VALUEMISSING_REQUIRED_FIELDSUNKNOWN_TO_SDK_VERSIONUNSUPPORTED_LOG_GROUP_TYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityRejectionErrorTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<EntityRejectionErrorType>knownValues()StringtoString()static EntityRejectionErrorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EntityRejectionErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_ENTITY
public static final EntityRejectionErrorType INVALID_ENTITY
-
INVALID_TYPE_VALUE
public static final EntityRejectionErrorType INVALID_TYPE_VALUE
-
INVALID_KEY_ATTRIBUTES
public static final EntityRejectionErrorType INVALID_KEY_ATTRIBUTES
-
INVALID_ATTRIBUTES
public static final EntityRejectionErrorType INVALID_ATTRIBUTES
-
ENTITY_SIZE_TOO_LARGE
public static final EntityRejectionErrorType ENTITY_SIZE_TOO_LARGE
-
UNSUPPORTED_LOG_GROUP_TYPE
public static final EntityRejectionErrorType UNSUPPORTED_LOG_GROUP_TYPE
-
MISSING_REQUIRED_FIELDS
public static final EntityRejectionErrorType MISSING_REQUIRED_FIELDS
-
UNKNOWN_TO_SDK_VERSION
public static final EntityRejectionErrorType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static EntityRejectionErrorType[] 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 (EntityRejectionErrorType c : EntityRejectionErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityRejectionErrorType 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<EntityRejectionErrorType>
-
fromValue
public static EntityRejectionErrorType 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:
- EntityRejectionErrorType corresponding to the value
-
knownValues
public static Set<EntityRejectionErrorType> 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 knownEntityRejectionErrorTypes
-
-