Interface GetObjectResponse.Builder

    • Method Detail

      • contentRange

        GetObjectResponse.Builder contentRange​(String contentRange)

        The range of bytes to retrieve.

        Parameters:
        contentRange - The range of bytes to retrieve.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentLength

        GetObjectResponse.Builder contentLength​(Long contentLength)

        The length of the object in bytes.

        Parameters:
        contentLength - The length of the object in bytes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        GetObjectResponse.Builder contentType​(String contentType)

        The content type of the object.

        Parameters:
        contentType - The content type of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eTag

        GetObjectResponse.Builder eTag​(String eTag)

        The ETag that represents a unique instance of the object.

        Parameters:
        eTag - The ETag that represents a unique instance of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModified

        GetObjectResponse.Builder lastModified​(Instant lastModified)

        The date and time that the object was last modified.

        Parameters:
        lastModified - The date and time that the object was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusCode

        GetObjectResponse.Builder statusCode​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.