Interface GetObjectAttributesResponse.Builder

    • Method Detail

      • deleteMarker

        GetObjectAttributesResponse.Builder deleteMarker​(Boolean deleteMarker)

        Specifies whether the object retrieved was (true) or was not (false) a delete marker. If false, this response header does not appear in the response.

        Parameters:
        deleteMarker - Specifies whether the object retrieved was (true) or was not (false) a delete marker. If false, this response header does not appear in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModified

        GetObjectAttributesResponse.Builder lastModified​(Instant lastModified)

        The creation date of the object.

        Parameters:
        lastModified - The creation date of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionId

        GetObjectAttributesResponse.Builder versionId​(String versionId)

        The version ID of the object.

        Parameters:
        versionId - The version ID of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestCharged

        GetObjectAttributesResponse.Builder requestCharged​(String requestCharged)
        Sets the value of the RequestCharged property for this object.
        Parameters:
        requestCharged - The new value for the RequestCharged property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RequestCharged, RequestCharged
      • requestCharged

        GetObjectAttributesResponse.Builder requestCharged​(RequestCharged requestCharged)
        Sets the value of the RequestCharged property for this object.
        Parameters:
        requestCharged - The new value for the RequestCharged property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RequestCharged, RequestCharged
      • eTag

        GetObjectAttributesResponse.Builder eTag​(String eTag)

        An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.

        Parameters:
        eTag - An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checksum

        GetObjectAttributesResponse.Builder checksum​(Checksum checksum)

        The checksum or digest of the object.

        Parameters:
        checksum - The checksum or digest of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • objectParts

        GetObjectAttributesResponse.Builder objectParts​(GetObjectAttributesParts objectParts)

        A collection of parts associated with a multipart upload.

        Parameters:
        objectParts - A collection of parts associated with a multipart upload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageClass

        GetObjectAttributesResponse.Builder storageClass​(String storageClass)

        Provides the storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

        For more information, see Storage Classes.

        Parameters:
        storageClass - Provides the storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

        For more information, see Storage Classes.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StorageClass, StorageClass
      • storageClass

        GetObjectAttributesResponse.Builder storageClass​(StorageClass storageClass)

        Provides the storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

        For more information, see Storage Classes.

        Parameters:
        storageClass - Provides the storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.

        For more information, see Storage Classes.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StorageClass, StorageClass
      • objectSize

        GetObjectAttributesResponse.Builder objectSize​(Long objectSize)

        The size of the object in bytes.

        Parameters:
        objectSize - The size of the object in bytes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.