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.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
HOST_ID |
AWS_REQUEST_ID, metadata| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getHostId()
Returns the Amazon S3 host ID, providing additional debugging information
about how a request was handled.
|
getRequestId, toStringpublic 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()
Copyright © 2016-2017. All Rights Reserved.