|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.ResponseMetadata<T>
T
- The result with which this metadata is associated.public class ResponseMetadata<T>
Represents the metadata included in a response from an AWS service. 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 | |
---|---|
ResponseMetadata()
|
Method Summary | |
---|---|
String |
getRequestId()
Returns the AWS request ID from the response metadata section of an AWS response. |
T |
getResult()
Returns the result type from the response with which this metadata is associated. |
void |
setRequestId(String requestId)
Sets the AWS request ID for this response metadata object. |
void |
setResult(T result)
Sets the result for the response with which this metadata is associated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponseMetadata()
Method Detail |
---|
public T getResult()
public void setResult(T result)
result
- The result type from the response with which this metadata is
associated.public String getRequestId()
public void setRequestId(String requestId)
requestId
- The AWS request ID for this response metadata object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |