Interface Aws4SignerParams.Builder<B extends Aws4SignerParams.Builder<B>>
- All Known Subinterfaces:
Aws4PresignerParams.Builder
,AwsS3V4SignerParams.Builder
- Enclosing class:
Aws4SignerParams
public static interface Aws4SignerParams.Builder<B extends Aws4SignerParams.Builder<B>>
-
Method Summary
Modifier and TypeMethodDescriptionawsCredentials
(AwsCredentials awsCredentials) Sets the aws credentials to use for computing the signature.build()
checksumParams
(SignerChecksumParams checksumParams) Checksum params required to compute the Checksum while data is read for signing the Checksum.doubleUrlEncode
(Boolean doubleUrlEncode) Set this value to double url-encode the resource path when constructing the canonical request.normalizePath
(Boolean normalizePath) Whether the resource path should be "normalized" according to RFC3986 when constructing the canonical request.signingClockOverride
(Clock signingClockOverride) The clock to use for overriding the signing time when computing signature for a request.signingName
(String signingName) The name of the AWS service to be used for computing the signature.signingRegion
(Region signingRegion) The AWS region to be used for computing the signature.timeOffset
(Integer timeOffset) The time offset (for clock skew correction) to use when computing the signing date for the request.
-
Method Details
-
doubleUrlEncode
Set this value to double url-encode the resource path when constructing the canonical request. By default, all services except S3 enable double url-encoding.- Parameters:
doubleUrlEncode
- Set true to enable double url encoding. Otherwise false.
-
normalizePath
Whether the resource path should be "normalized" according to RFC3986 when constructing the canonical request. By default, all services except S3 enable resource path normalization. -
awsCredentials
Sets the aws credentials to use for computing the signature.- Parameters:
awsCredentials
- Aws Credentials to use for computing the signature.
-
signingName
The name of the AWS service to be used for computing the signature.- Parameters:
signingName
- Name of the AWS service to be used for computing the signature.
-
signingRegion
The AWS region to be used for computing the signature.- Parameters:
signingRegion
- AWS region to be used for computing the signature.
-
timeOffset
The time offset (for clock skew correction) to use when computing the signing date for the request.- Parameters:
timeOffset
- The time offset (for clock skew correction) to use when computing the signing date for the request.
-
signingClockOverride
The clock to use for overriding the signing time when computing signature for a request. By default, current time of the system is used for signing. This parameter can be used to set custom signing time. Useful option for testing.- Parameters:
signingClockOverride
- The clock to use for overriding the signing time when computing signature for a request.
-
checksumParams
Checksum params required to compute the Checksum while data is read for signing the Checksum.- Parameters:
checksumParams
- SignerChecksumParams that defines the Algorithm and headers to pass Checksum.- Returns:
-
build
Aws4SignerParams build()
-