public final class Aws4SignerRequestParams extends Object
Constructor and Description |
---|
Aws4SignerRequestParams(SdkRequest originalRequest,
SdkHttpFullRequest.Builder httpRequest,
ExecutionAttributes executionAttributes,
Date signingDateOverride,
String regionNameOverride,
String serviceName,
String signingAlgorithm)
Generates an instance of AWS4signerRequestParams that holds the parameters used for computing a AWS 4 signature
for a request.
|
Modifier and Type | Method and Description |
---|---|
ExecutionAttributes |
executionAttributes()
Returns the mutable attributes attached to the execution.
|
String |
getFormattedSigningDate()
Returns the formatted date in UTC zone of the signing date.
|
String |
getFormattedSigningDateTime()
Returns the formatted date and time of the signing date in UTC zone.
|
String |
getRegionName()
Returns the AWS region name to be used while computing the signature.
|
String |
getScope()
Returns the scope of the signing.
|
String |
getServiceName()
Returns the AWS Service name to be used while computing the signature.
|
String |
getSigningAlgorithm()
Returns the signing algorithm used for computing the signature.
|
long |
getSigningDateTimeMilli()
Returns the signing date time in millis for which the signature needs to
be computed.
|
SdkHttpFullRequest.Builder |
httpRequest()
Returns the HTTP request to be signed.
|
SdkRequest |
originalRequest()
Returns the original modeled request given to the SDK.
|
public Aws4SignerRequestParams(SdkRequest originalRequest, SdkHttpFullRequest.Builder httpRequest, ExecutionAttributes executionAttributes, Date signingDateOverride, String regionNameOverride, String serviceName, String signingAlgorithm)
public SdkRequest originalRequest()
public SdkHttpFullRequest.Builder httpRequest()
public ExecutionAttributes executionAttributes()
public String getScope()
public String getFormattedSigningDateTime()
public long getSigningDateTimeMilli()
public String getRegionName()
public String getServiceName()
public String getFormattedSigningDate()
public String getSigningAlgorithm()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.