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 String |
CLOUD_FRONT_ID |
static String |
HOST_ID |
AWS_REQUEST_ID
Constructor and Description |
---|
S3ResponseMetadata(Map<String,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 |
---|---|
String |
getCloudFrontId() |
String |
getHostId()
Returns the Amazon S3 host ID, providing additional debugging information
about how a request was handled.
|
getRequestId, toString
public static final String HOST_ID
public static final String CLOUD_FRONT_ID
public S3ResponseMetadata(Map<String,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 String getHostId()
public String getCloudFrontId()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.