public class ResponseMetadata extends Object
Access to AWS request IDs is also available through the com.ibm.cloud.objectstorage.request logger in the AWS SDK for Java.
Modifier and Type | Field and Description |
---|---|
static String |
AWS_EXTENDED_REQUEST_ID |
static String |
AWS_REQUEST_ID |
static String |
IBM_PROTECTION_MANAGEMENT_STATE |
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 |
getIbmProtectionManagementState()
Returns the IBM Protection Management State contained in this response metadata object.
|
String |
getRequestId()
Returns the AWS request ID contained in this response metadata object.
|
String |
toString() |
public static final String AWS_REQUEST_ID
public static final String AWS_EXTENDED_REQUEST_ID
public static final String IBM_PROTECTION_MANAGEMENT_STATE
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()
public String getIbmProtectionManagementState()
Copyright © 2024. All rights reserved.