public class ResponseMetadata extends Object
Access to AWS request IDs is also available through the com.amazonaws.request logger in the AWS SDK for Java.
| Modifier and Type | Field and Description | 
|---|---|
static String | 
AWS_REQUEST_ID  | 
protected Map<String,String> | 
metadata  | 
| Constructor and Description | 
|---|
ResponseMetadata(Map<String,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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getRequestId()
Returns the AWS request ID contained in this response metadata object. 
 | 
String | 
toString()  | 
public static final String AWS_REQUEST_ID
public ResponseMetadata(Map<String,String> metadata)
metadata - The raw metadata for the new ResponseMetadata object.public ResponseMetadata(ResponseMetadata originalResponseMetadata)
originalResponseMetadata - The ResponseMetadata object from which to create the new
            object.public String getRequestId()
Copyright © 2017. All rights reserved.