Enum GatewayResponseType
- java.lang.Object
-
- java.lang.Enum<GatewayResponseType>
-
- software.amazon.awssdk.services.apigateway.model.GatewayResponseType
-
- All Implemented Interfaces:
Serializable,Comparable<GatewayResponseType>
@Generated("software.amazon.awssdk:codegen") public enum GatewayResponseType extends Enum<GatewayResponseType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GatewayResponseTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<GatewayResponseType>knownValues()StringtoString()static GatewayResponseTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GatewayResponseType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_4_XX
public static final GatewayResponseType DEFAULT_4_XX
-
DEFAULT_5_XX
public static final GatewayResponseType DEFAULT_5_XX
-
RESOURCE_NOT_FOUND
public static final GatewayResponseType RESOURCE_NOT_FOUND
-
UNAUTHORIZED
public static final GatewayResponseType UNAUTHORIZED
-
INVALID_API_KEY
public static final GatewayResponseType INVALID_API_KEY
-
ACCESS_DENIED
public static final GatewayResponseType ACCESS_DENIED
-
AUTHORIZER_FAILURE
public static final GatewayResponseType AUTHORIZER_FAILURE
-
AUTHORIZER_CONFIGURATION_ERROR
public static final GatewayResponseType AUTHORIZER_CONFIGURATION_ERROR
-
INVALID_SIGNATURE
public static final GatewayResponseType INVALID_SIGNATURE
-
EXPIRED_TOKEN
public static final GatewayResponseType EXPIRED_TOKEN
-
MISSING_AUTHENTICATION_TOKEN
public static final GatewayResponseType MISSING_AUTHENTICATION_TOKEN
-
INTEGRATION_FAILURE
public static final GatewayResponseType INTEGRATION_FAILURE
-
INTEGRATION_TIMEOUT
public static final GatewayResponseType INTEGRATION_TIMEOUT
-
API_CONFIGURATION_ERROR
public static final GatewayResponseType API_CONFIGURATION_ERROR
-
UNSUPPORTED_MEDIA_TYPE
public static final GatewayResponseType UNSUPPORTED_MEDIA_TYPE
-
BAD_REQUEST_PARAMETERS
public static final GatewayResponseType BAD_REQUEST_PARAMETERS
-
BAD_REQUEST_BODY
public static final GatewayResponseType BAD_REQUEST_BODY
-
REQUEST_TOO_LARGE
public static final GatewayResponseType REQUEST_TOO_LARGE
-
THROTTLED
public static final GatewayResponseType THROTTLED
-
QUOTA_EXCEEDED
public static final GatewayResponseType QUOTA_EXCEEDED
-
WAF_FILTERED
public static final GatewayResponseType WAF_FILTERED
-
UNKNOWN_TO_SDK_VERSION
public static final GatewayResponseType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static GatewayResponseType[] 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 (GatewayResponseType c : GatewayResponseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GatewayResponseType 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<GatewayResponseType>
-
fromValue
public static GatewayResponseType 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:
- GatewayResponseType corresponding to the value
-
knownValues
public static Set<GatewayResponseType> 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 knownGatewayResponseTypes
-
-