public final class Aws4SignerRequestParams extends Object
Constructor | Description |
---|---|
Aws4SignerRequestParams(SdkHttpRequest request,
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 | Description |
---|---|---|
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.
|
SdkHttpRequest |
getRequest() |
Returns the request for which the signing needs to be done.
|
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.
|
public Aws4SignerRequestParams(SdkHttpRequest request, Date signingDateOverride, String regionNameOverride, String serviceName, String signingAlgorithm)
public SdkHttpRequest getRequest()
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.