|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceResponse<T>
T
- The type of result contained by this response.public class AmazonWebServiceResponse<T>
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 | |
---|---|
AmazonWebServiceResponse()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmazonWebServiceResponse()
Method Detail |
---|
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()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |