Enum ResponseChecksumValidation
java.lang.Object
java.lang.Enum<ResponseChecksumValidation>
software.amazon.awssdk.core.checksums.ResponseChecksumValidation
- All Implemented Interfaces:
Serializable
,Comparable<ResponseChecksumValidation>
Enum class for response checksum validation setting.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChecksum will only be validated for response if required.Checksum will be validated for response if supported. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseChecksumValidation
Returns the appropriate ResponseChecksumValidation value after parsing the parameter.static ResponseChecksumValidation
Returns the enum constant of this type with the specified name.static ResponseChecksumValidation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
WHEN_SUPPORTED
Checksum will be validated for response if supported. Default setting. -
WHEN_REQUIRED
Checksum will only be validated for response if required.
-
-
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
-
fromValue
Returns the appropriate ResponseChecksumValidation value after parsing the parameter.- Parameters:
s
- ResponseChecksumValidation in String format.- Returns:
- ResponseChecksumValidation enum value.
- Throws:
IllegalArgumentException
- Unrecognized value for response checksum validation.
-