T - The type of original, user facing request represented by this
            request.public interface Request<T>
This class is only intended for internal use inside the AWS client libraries. Callers shouldn't ever interact directly with objects of this class.
| Modifier and Type | Method and Description | 
|---|---|
| void | addHeader(java.lang.String name,
         java.lang.String value)Sets the specified header for this request. | 
| void | addParameter(java.lang.String name,
            java.lang.String value)Adds the specified request parameter to this request. | 
| AWSRequestMetrics | getAWSRequestMetrics() | 
| java.io.InputStream | getContent()Returns the optional stream containing the payload data to include for
 this request. | 
| java.lang.String | getEncodedUriResourcePath()Get Encoded Uri Resource Path | 
| java.net.URI | getEndpoint()Returns the service endpoint (ex: "https://ec2.amazonaws.com") to which
 this request should be sent. | 
| java.util.Map<java.lang.String,java.lang.String> | getHeaders()Returns a map of all the headers included in this request. | 
| java.lang.String | getHostPrefix()Returns the optional prefix to prepend to the request endpoint's host
 before sending this request. | 
| HttpMethodName | getHttpMethod()Returns the HTTP method (GET, POST, etc) to use when sending this
 request. | 
| AmazonWebServiceRequest | getOriginalRequest()Returns the original, user facing request object which this internal
 request object is representing. | 
| java.util.Map<java.lang.String,java.lang.String> | getParameters()Returns a map of all parameters in this request. | 
| java.lang.String | getResourcePath()Deprecated.  | 
| java.lang.String | getServiceName()Returns the name of the Amazon service this request is for. | 
| long | getTimeOffset()Returns the optional value for time offset for this request. | 
| boolean | isStreaming()Flag that indicates that request is streaming request | 
| void | setAWSRequestMetrics(AWSRequestMetrics metrics)Bind the request metrics to the request. | 
| void | setContent(java.io.InputStream content)Sets the optional stream containing the payload data to include for this
 request. | 
| void | setEncodedResourcePath(java.lang.String encodedUriResourcePath)Set Encoded Uri Resource Path | 
| void | setEndpoint(java.net.URI endpoint)Sets the service endpoint (ex: "https://ec2.amazonaws.com") to which this
 request should be sent. | 
| void | setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)Sets all headers, clearing any existing ones. | 
| void | setHostPrefix(java.lang.String hostPrefix)Sets the optional prefix to prepend to the request endpoint's host before
 sending this request. | 
| void | setHttpMethod(HttpMethodName httpMethod)Sets the HTTP method (GET, POST, etc) to use when sending this request. | 
| void | setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)Sets all parameters, clearing any existing values. | 
| void | setResourcePath(java.lang.String path)Deprecated.  | 
| void | setStreaming(boolean streaming)Set streaming flag | 
| void | setTimeOffset(int timeOffset)Deprecated.  | 
| void | setTimeOffset(long timeOffset)Sets the optional value for time offset for this request. | 
| Request<T> | withParameter(java.lang.String name,
             java.lang.String value)Adds the specified request parameter to this request, and returns the
 updated request object. | 
| Request<T> | withTimeOffset(int timeOffset)Deprecated.  | 
| Request<T> | withTimeOffset(long timeOffset)Sets the optional value for time offset for this request. | 
void addHeader(java.lang.String name,
               java.lang.String value)
name - The name of the header to set.value - The header's value.java.util.Map<java.lang.String,java.lang.String> getHeaders()
void setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
headers - the headers.@Deprecated void setResourcePath(java.lang.String path)
path - The path to the resource being requested.@Deprecated java.lang.String getResourcePath()
void addParameter(java.lang.String name,
                  java.lang.String value)
name - The name of the request parameter.value - The value of the request parameter.Request<T> withParameter(java.lang.String name, java.lang.String value)
name - The name of the request parameter.value - The value of the request parameter.java.util.Map<java.lang.String,java.lang.String> getParameters()
void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters - the parameters.java.net.URI getEndpoint()
void setEndpoint(java.net.URI endpoint)
endpoint - The service endpoint to which this request should be
            sent.HttpMethodName getHttpMethod()
void setHttpMethod(HttpMethodName httpMethod)
httpMethod - The HTTP method to use when sending this request.java.io.InputStream getContent()
void setContent(java.io.InputStream content)
content - The optional stream containing the payload data to include
            for this request.java.lang.String getHostPrefix()
void setHostPrefix(java.lang.String hostPrefix)
hostPrefix - The optional prefix to prepend to the request endpoint
                   host.java.lang.String getServiceName()
AmazonWebServiceRequest getOriginalRequest()
long getTimeOffset()
@Deprecated void setTimeOffset(int timeOffset)
setTimeOffset(long) instead.timeOffset - The optional value for time offset (in seconds) for
                   this request.void setTimeOffset(long timeOffset)
timeOffset - The optional value for time offset (in seconds) for
            this request.@Deprecated Request<T> withTimeOffset(int timeOffset)
withTimeOffset(long) instead.timeOffset - the time offset for the request.Request<T> withTimeOffset(long timeOffset)
timeOffset - the time offset for the request.AWSRequestMetrics getAWSRequestMetrics()
void setAWSRequestMetrics(AWSRequestMetrics metrics)
metrics - the request metrics.java.lang.IllegalStateException - if the binding has already occurredboolean isStreaming()
void setStreaming(boolean streaming)
streaming - the streaming flag.java.lang.String getEncodedUriResourcePath()
void setEncodedResourcePath(java.lang.String encodedUriResourcePath)
encodedUriResourcePath - encoded uri resource path