T
- The type of result contained by this response.public class AmazonWebServiceResponse<T>
extends java.lang.Object
Constructor and Description |
---|
AmazonWebServiceResponse() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestId()
Returns the AWS request ID from the response metadata section of an AWS
response.
|
ResponseMetadata |
getResponseMetadata()
Returns the response metadata for this response.
|
T |
getResult()
Returns the result contained by this response.
|
void |
setResponseMetadata(ResponseMetadata responseMetadata)
Sets the response metadata associated with this response.
|
void |
setResult(T result)
Sets the result contained by this response.
|
public T getResult()
public void setResult(T result)
result
- The result contained by this response.public void setResponseMetadata(ResponseMetadata responseMetadata)
responseMetadata
- The response metadata for this response.public ResponseMetadata getResponseMetadata()
public java.lang.String getRequestId()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.