public abstract class AmazonWebServiceRequest extends Object
| Constructor and Description | 
|---|
AmazonWebServiceRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,String> | 
copyPrivateRequestParameters()
Internal only method for accessing private, internal request parameters. 
 | 
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(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. 
 | 
<T extends AmazonWebServiceRequest>  | 
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. 
 | 
@Deprecated public String getDelegationToken()
AWSSessionCredentials to
 your client constructor instead.  Note the delegationToken methods do not
 work for services other than s3.@Deprecated public void setDelegationToken(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 Map<String,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)
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.