Class GetObjectResponse

    • Method Detail

      • contentRange

        public final String contentRange()

        The range of bytes to retrieve.

        Returns:
        The range of bytes to retrieve.
      • contentLength

        public final Long contentLength()

        The length of the object in bytes.

        Returns:
        The length of the object in bytes.
      • contentType

        public final String contentType()

        The content type of the object.

        Returns:
        The content type of the object.
      • eTag

        public final String eTag()

        The ETag that represents a unique instance of the object.

        Returns:
        The ETag that represents a unique instance of the object.
      • lastModified

        public final Instant lastModified()

        The date and time that the object was last modified.

        Returns:
        The date and time that the object was last modified.
      • statusCode

        public final Integer statusCode()

        The HTML status code of the request. Status codes ranging from 200 to 299 indicate success. All other status codes indicate the type of error that occurred.

        Returns:
        The HTML status code of the request. Status codes ranging from 200 to 299 indicate success. All other status codes indicate the type of error that occurred.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object