Class ResponseChecksumValidationResolver
java.lang.Object
software.amazon.awssdk.core.checksums.ResponseChecksumValidationResolver
Allows customizing the variables used during determination of a
ResponseChecksumValidation
.
Created viacreate()
.-
Method Summary
Modifier and TypeMethodDescriptioncreate()
defaultChecksumValidation
(ResponseChecksumValidation defaultChecksumValidation) Configure theResponseChecksumValidation
that should be used if the mode is not specified anywhere else.profileFile
(Supplier<ProfileFile> profileFile) Configure the profile file that should be used when determining theResponseChecksumValidation
.profileName
(String profileName) Configure the profile file name should be used when determining theResponseChecksumValidation
.resolve()
Resolve which response checksum validation setting should be used, based on the configured values.
-
Method Details
-
create
-
profileFile
Configure the profile file that should be used when determining theResponseChecksumValidation
. The supplier is only consulted if a higher-priority determinant (e.g. environment variables) does not find the setting. -
profileName
Configure the profile file name should be used when determining theResponseChecksumValidation
. -
defaultChecksumValidation
public ResponseChecksumValidationResolver defaultChecksumValidation(ResponseChecksumValidation defaultChecksumValidation) Configure theResponseChecksumValidation
that should be used if the mode is not specified anywhere else. -
resolve
Resolve which response checksum validation setting should be used, based on the configured values.
-