Class ResponseChecksumValidationResolver
- java.lang.Object
-
- software.amazon.awssdk.core.checksums.ResponseChecksumValidationResolver
-
public final class ResponseChecksumValidationResolver extends Object
Allows customizing the variables used during determination of aResponseChecksumValidation. Created viacreate().
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseChecksumValidationResolvercreate()ResponseChecksumValidationResolverdefaultChecksumValidation(ResponseChecksumValidation defaultChecksumValidation)Configure theResponseChecksumValidationthat should be used if the mode is not specified anywhere else.ResponseChecksumValidationResolverprofileFile(Supplier<ProfileFile> profileFile)Configure the profile file that should be used when determining theResponseChecksumValidation.ResponseChecksumValidationResolverprofileName(String profileName)Configure the profile file name should be used when determining theResponseChecksumValidation.ResponseChecksumValidationresolve()Resolve which response checksum validation setting should be used, based on the configured values.
-
-
-
Method Detail
-
create
public static ResponseChecksumValidationResolver create()
-
profileFile
public ResponseChecksumValidationResolver profileFile(Supplier<ProfileFile> 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
public ResponseChecksumValidationResolver profileName(String profileName)
Configure the profile file name should be used when determining theResponseChecksumValidation.
-
defaultChecksumValidation
public ResponseChecksumValidationResolver defaultChecksumValidation(ResponseChecksumValidation defaultChecksumValidation)
Configure theResponseChecksumValidationthat should be used if the mode is not specified anywhere else.
-
resolve
public ResponseChecksumValidation resolve()
Resolve which response checksum validation setting should be used, based on the configured values.
-
-