public class ResponseMetadata
extends java.lang.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 java.lang.String |
AWS_REQUEST_ID
Constant for the AWS Request ID.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestId()
Returns the AWS request ID contained in this response metadata object.
|
java.lang.String |
toString() |
public static final java.lang.String AWS_REQUEST_ID
public ResponseMetadata(java.util.Map<java.lang.String,java.lang.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 java.lang.String getRequestId()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.