Interface GetObjectAttributesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetObjectAttributesResponse.Builder,GetObjectAttributesResponse>, S3Response.Builder, SdkBuilder<GetObjectAttributesResponse.Builder,GetObjectAttributesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetObjectAttributesResponse

public static interface GetObjectAttributesResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetObjectAttributesResponse.Builder,GetObjectAttributesResponse>
  • Method Details

    • 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.

      This functionality is not supported for directory buckets.

      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.

      This functionality is not supported for directory buckets.

      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

      The version ID of the object.

      This functionality is not supported for directory buckets.

      Parameters:
      versionId - The version ID of the object.

      This functionality is not supported for directory buckets.

      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

      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:
    • 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

      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.
    • checksum

      The checksum or digest of the object.

      This is a convenience method that creates an instance of the Checksum.Builder avoiding the need to create one manually via Checksum.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to checksum(Checksum).

      Parameters:
      checksum - a consumer that will call methods on Checksum.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • objectParts

      A collection of parts associated with a multipart upload.

      This is a convenience method that creates an instance of the GetObjectAttributesParts.Builder avoiding the need to create one manually via GetObjectAttributesParts.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to objectParts(GetObjectAttributesParts).

      Parameters:
      objectParts - a consumer that will call methods on GetObjectAttributesParts.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.

      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.

      Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.

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

      Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.

      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.

      Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.

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