Package com.amazonaws
Class AmazonWebServiceResponse<T>
java.lang.Object
com.amazonaws.AmazonWebServiceResponse<T>
- Type Parameters:
T
- The type of result contained by this response.
Represents the response from an AWS service, including the result payload and
any response metadata. AWS response metadata consists primarily of the AWS
request ID, which can be used for debugging purposes when services aren't
acting as expected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the AWS request ID from the response metadata section of an AWS response.Returns the response metadata for this response.Returns the result contained by this response.void
setResponseMetadata
(ResponseMetadata responseMetadata) Sets the response metadata associated with this response.void
Sets the result contained by this response.
-
Constructor Details
-
AmazonWebServiceResponse
public AmazonWebServiceResponse()
-
-
Method Details
-
getResult
Returns the result contained by this response.- Returns:
- The result contained by this response.
-
setResult
Sets the result contained by this response.- Parameters:
result
- The result contained by this response.
-
setResponseMetadata
Sets the response metadata associated with this response.- Parameters:
responseMetadata
- The response metadata for this response.
-
getResponseMetadata
Returns the response metadata for this response. Response metadata provides additional information about a response that isn't necessarily directly part of the data the service is returning. Response metadata is primarily used for debugging issues with AWS support when a service isn't working as expected.- Returns:
- The response metadata for this response.
-
getRequestId
Returns the AWS request ID from the response metadata section of an AWS response.- Returns:
- The AWS request ID from the response metadata section of an AWS response.
-