com.amazonaws
Class ResponseMetadata
java.lang.Object
   com.amazonaws.ResponseMetadata
com.amazonaws.ResponseMetadata
- Direct Known Subclasses: 
- S3ResponseMetadata, SimpleDBResponseMetadata
- public class ResponseMetadata 
- extends java.lang.Object
Represents additional metadata included with a response from AWS. Response
 metadata varies by service, but all services return an AWS request ID that
 can be used in the event a service call isn't working as expected and you
 need to work with AWS support to debug an issue.
 
 Access to AWS request IDs is also available through the com.amazonaws.request
 logger in the AWS SDK for Java.
 
| Constructor Summary | 
| ResponseMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)Creates a new ResponseMetadata object from a specified map of raw
 metadata information.
 | 
| ResponseMetadata(ResponseMetadata originalResponseMetadata)Creates a new ResponseMetadata object from an existing ResponseMetadata
 object.
 | 
 
| Method Summary | 
|  java.lang.String | getRequestId()Returns the AWS request ID contained in this response metadata object.
 | 
|  java.lang.String | toString()
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
AWS_REQUEST_ID
public static final java.lang.String AWS_REQUEST_ID
- See Also:
- Constant Field Values
ResponseMetadata
public ResponseMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
- Creates a new ResponseMetadata object from a specified map of raw
 metadata information.
 
- Parameters:
- metadata- The raw metadata for the new ResponseMetadata object.
 
ResponseMetadata
public ResponseMetadata(ResponseMetadata originalResponseMetadata)
- Creates a new ResponseMetadata object from an existing ResponseMetadata
 object.
 
- Parameters:
- originalResponseMetadata- The ResponseMetadata object from which to create the new
            object.
 
getRequestId
public java.lang.String getRequestId()
- Returns the AWS request ID contained in this response metadata object.
 AWS request IDs can be used in the event a service call isn't working as
 expected and you need to work with AWS support to debug an issue.
 
- 
- Returns:
- The AWS request ID contained in this response metadata object.
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
 
                Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.