public class S3ResponseMetadata extends ResponseMetadata
ResponseMetadata with Amazon S3 specific data. In
addition to the standard AWS request ID contained in all services' response
metadata, Amazon S3 also includes a host ID that can be provided to AWS
support when debugging an issue with Amazon S3.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLOUD_FRONT_ID
Metadata for CloudFront ID
|
static java.lang.String |
HOST_ID
Metadata for host ID
|
AWS_REQUEST_ID| Constructor and Description |
|---|
S3ResponseMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Creates a new S3ResponseMetadata object from a specified map of metadata
information.
|
S3ResponseMetadata(ResponseMetadata originalResponseMetadata)
Creates a new S3ResponseMetadata object from an existing ResponseMetadata
object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCloudFrontId() |
java.lang.String |
getHostId()
Returns the Amazon S3 host ID, providing additional debugging information
about how a request was handled.
|
getRequestId, toStringpublic static final java.lang.String HOST_ID
public static final java.lang.String CLOUD_FRONT_ID
public S3ResponseMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
metadata - The raw metadata for the new S3ResponseMetadata object.public S3ResponseMetadata(ResponseMetadata originalResponseMetadata)
originalResponseMetadata - The ResponseMetadata object from which to
create the new object.public java.lang.String getHostId()
public java.lang.String getCloudFrontId()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.