Enum AwsSigningConfig.AwsSignatureType
java.lang.Object
java.lang.Enum<AwsSigningConfig.AwsSignatureType>
software.amazon.awssdk.crt.auth.signing.AwsSigningConfig.AwsSignatureType
- All Implemented Interfaces:
Serializable,Comparable<AwsSigningConfig.AwsSignatureType>
- Enclosing class:
- AwsSigningConfig
public static enum AwsSigningConfig.AwsSignatureType
extends Enum<AwsSigningConfig.AwsSignatureType>
What sort of signature should be computed from the signable?
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCompute a signature for a payload chunk.Compute a signature for an event stream event.Compute a signature for a payloads trailing headers.A signature for a full http request should be computed, with header updates applied to the signing result.A signature for a full http request should be computed, with query param updates applied to the signing result. -
Method Summary
Modifier and TypeMethodDescriptiongetEnumValueFromInteger(int value) Creates a Java enum value from a native enum value as an integerintGets the native enum value as an integer that is associated with this Java enum valueReturns the enum constant of this type with the specified name.static AwsSigningConfig.AwsSignatureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HTTP_REQUEST_VIA_HEADERS
A signature for a full http request should be computed, with header updates applied to the signing result. -
HTTP_REQUEST_VIA_QUERY_PARAMS
A signature for a full http request should be computed, with query param updates applied to the signing result. -
HTTP_REQUEST_CHUNK
Compute a signature for a payload chunk. -
HTTP_REQUEST_EVENT
Compute a signature for an event stream event. This option is not yet supported. -
HTTP_REQUEST_TRAILING_HEADERS
Compute a signature for a payloads trailing headers.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getNativeValue
public int getNativeValue()Gets the native enum value as an integer that is associated with this Java enum value- Returns:
- this value's associated native enum value
-
getEnumValueFromInteger
Creates a Java enum value from a native enum value as an integer- Parameters:
value- native enum value- Returns:
- the corresponding Java enum value
-