T
- The type of result contained by this response.public class AmazonWebServiceResponse<T> extends Object
Constructor and Description |
---|
AmazonWebServiceResponse() |
Modifier and Type | Method and 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 void setResponseMetadata(ResponseMetadata responseMetadata)
responseMetadata
- The response metadata for this response.public ResponseMetadata getResponseMetadata()
public String getRequestId()
Copyright © 2024. All rights reserved.