T
- The type of result contained by this response.public class AmazonWebServiceResponse<T> extends Object
Constructor | Description |
---|---|
AmazonWebServiceResponse() |
Modifier and Type | Method | Description |
---|---|---|
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 ResponseMetadata getResponseMetadata()
public void setResponseMetadata(ResponseMetadata responseMetadata)
responseMetadata
- The response metadata for this response.public String getRequestId()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.