|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
public abstract class AmazonWebServiceRequest
Base class for all user facing web service requests.
Constructor Summary | |
---|---|
AmazonWebServiceRequest()
|
Method Summary | ||
---|---|---|
java.util.Map<java.lang.String,java.lang.String> |
copyPrivateRequestParameters()
Internal only method for accessing private, internal request parameters. |
|
java.lang.String |
getDelegationToken()
Deprecated. Pass a AWSSessionCredentials to
your client constructor instead. Note the delegationToken methods do not
work for services other than s3. |
|
RequestClientOptions |
getRequestClientOptions()
Gets the options stored with this request object. |
|
AWSCredentials |
getRequestCredentials()
Returns the optional credentials to use to sign this request, overriding the default credentials set at the client level. |
|
com.amazonaws.metrics.RequestMetricCollector |
getRequestMetricCollector()
Returns a request level metric collector; or null if not specified. |
|
void |
setDelegationToken(java.lang.String delegationToken)
Deprecated. Pass a AWSSessionCredentials to
your client constructor instead. Note the delegationToken methods do not
work for services other than s3. |
|
void |
setRequestCredentials(AWSCredentials credentials)
Sets the optional credentials to use for this request, overriding the default credentials set at the client level. |
|
void |
setRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
Sets a request level request metric collector which takes precedence over the ones at the http client level and AWS SDK level. |
|
|
withRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector metricCollector)
Specifies a request level metric collector which takes precedence over the ones at the http client level and AWS SDK level. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmazonWebServiceRequest()
Method Detail |
---|
@Deprecated public java.lang.String getDelegationToken()
AWSSessionCredentials
to
your client constructor instead. Note the delegationToken methods do not
work for services other than s3.
@Deprecated public void setDelegationToken(java.lang.String delegationToken)
AWSSessionCredentials
to
your client constructor instead. Note the delegationToken methods do not
work for services other than s3.
delegationToken
- The optional STS security token associated with the request.public void setRequestCredentials(AWSCredentials credentials)
credentials
- The optional AWS security credentials to use for this request,
overriding the default credentials set at the client level.public AWSCredentials getRequestCredentials()
public java.util.Map<java.lang.String,java.lang.String> copyPrivateRequestParameters()
public RequestClientOptions getRequestClientOptions()
public com.amazonaws.metrics.RequestMetricCollector getRequestMetricCollector()
public void setRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
public <T extends AmazonWebServiceRequest> T withRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector metricCollector)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |