JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws

Class ResponseMetadata

  • Direct Known Subclasses:
    S3ControlResponseMetadata, S3ResponseMetadata, SimpleDBResponseMetadata


    public class ResponseMetadata
    extends Object 
    Represents additional metadata included with a response from AWS. Response metadata varies by service, but all services return an AWS request ID that can be used in the event a service call isn't working as expected and you need to work with AWS support to debug an issue.

    Access to AWS request IDs is also available through the com.amazonaws.request logger in the AWS SDK for Java.

    • Constructor Detail

      • ResponseMetadata

        public ResponseMetadata(Map<String,String> metadata)
        Creates a new ResponseMetadata object from a specified map of raw metadata information.
        Parameters:
        metadata - The raw metadata for the new ResponseMetadata object.
      • ResponseMetadata

        public ResponseMetadata(ResponseMetadata originalResponseMetadata)
        Creates a new ResponseMetadata object from an existing ResponseMetadata object.
        Parameters:
        originalResponseMetadata - The ResponseMetadata object from which to create the new object.
    • Method Detail

      • getRequestId

        public String getRequestId()
        Returns the AWS request ID contained in this response metadata object. AWS request IDs can be used in the event a service call isn't working as expected and you need to work with AWS support to debug an issue.
        Returns:
        The AWS request ID contained in this response metadata object.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /