@Mutable @NotThreadSafe public static interface GetObjectAttributesResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetObjectAttributesResponse.Builder,GetObjectAttributesResponse>
| Modifier and Type | Method and Description |
|---|---|
GetObjectAttributesResponse.Builder |
checksum(Checksum checksum)
The checksum or digest of the object.
|
default GetObjectAttributesResponse.Builder |
checksum(Consumer<Checksum.Builder> checksum)
The checksum or digest of the object.
|
GetObjectAttributesResponse.Builder |
deleteMarker(Boolean deleteMarker)
Specifies whether the object retrieved was (
true) or was not (false) a delete
marker. |
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.
|
GetObjectAttributesResponse.Builder |
lastModified(Instant lastModified)
Date and time when the object was last modified.
|
default GetObjectAttributesResponse.Builder |
objectParts(Consumer<GetObjectAttributesParts.Builder> objectParts)
A collection of parts associated with a multipart upload.
|
GetObjectAttributesResponse.Builder |
objectParts(GetObjectAttributesParts objectParts)
A collection of parts associated with a multipart upload.
|
GetObjectAttributesResponse.Builder |
objectSize(Long objectSize)
The size of the object in bytes.
|
GetObjectAttributesResponse.Builder |
requestCharged(RequestCharged requestCharged)
Sets the value of the RequestCharged property for this object.
|
GetObjectAttributesResponse.Builder |
requestCharged(String requestCharged)
Sets the value of the RequestCharged property for this object.
|
GetObjectAttributesResponse.Builder |
storageClass(StorageClass storageClass)
Provides the storage class information of the object.
|
GetObjectAttributesResponse.Builder |
storageClass(String storageClass)
Provides the storage class information of the object.
|
GetObjectAttributesResponse.Builder |
versionId(String versionId)
The version ID of the object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldNameToField, sdkFieldscopyapplyMutation, buildGetObjectAttributesResponse.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. To learn more about
delete markers, see Working
with delete markers.
This functionality is not supported for directory buckets.
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. To learn
more about delete markers, see Working with delete
markers. This functionality is not supported for directory buckets.
GetObjectAttributesResponse.Builder lastModified(Instant lastModified)
Date and time when the object was last modified.
lastModified - Date and time when the object was last modified.GetObjectAttributesResponse.Builder versionId(String versionId)
The version ID of the object.
This functionality is not supported for directory buckets.
versionId - The version ID of the object. This functionality is not supported for directory buckets.
GetObjectAttributesResponse.Builder requestCharged(String requestCharged)
requestCharged - The new value for the RequestCharged property for this object.RequestCharged,
RequestChargedGetObjectAttributesResponse.Builder requestCharged(RequestCharged requestCharged)
requestCharged - The new value for the RequestCharged property for this object.RequestCharged,
RequestChargedGetObjectAttributesResponse.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.
eTag - An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at
a URL.GetObjectAttributesResponse.Builder checksum(Checksum checksum)
The checksum or digest of the object.
checksum - The checksum or digest of the object.default GetObjectAttributesResponse.Builder checksum(Consumer<Checksum.Builder> checksum)
The checksum or digest of the object.
This is a convenience method that creates an instance of theChecksum.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).
checksum - a consumer that will call methods on Checksum.Builderchecksum(Checksum)GetObjectAttributesResponse.Builder objectParts(GetObjectAttributesParts objectParts)
A collection of parts associated with a multipart upload.
objectParts - A collection of parts associated with a multipart upload.default GetObjectAttributesResponse.Builder objectParts(Consumer<GetObjectAttributesParts.Builder> objectParts)
A collection of parts associated with a multipart upload.
This is a convenience method that creates an instance of theGetObjectAttributesParts.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).
objectParts - a consumer that will call methods on GetObjectAttributesParts.BuilderobjectParts(GetObjectAttributesParts)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 - Directory buckets only support EXPRESS_ONEZONE (the S3 Express One
Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access
storage class) in Dedicated Local Zones.
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 - Directory buckets only support EXPRESS_ONEZONE (the S3 Express
One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent
Access storage class) in Dedicated Local Zones.
StorageClass,
StorageClassGetObjectAttributesResponse.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.
Directory buckets - Directory buckets only support EXPRESS_ONEZONE (the S3 Express One
Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access
storage class) in Dedicated Local Zones.
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 - Directory buckets only support EXPRESS_ONEZONE (the S3 Express
One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent
Access storage class) in Dedicated Local Zones.
StorageClass,
StorageClassGetObjectAttributesResponse.Builder objectSize(Long objectSize)
The size of the object in bytes.
objectSize - The size of the object in bytes.Copyright © 2026. All rights reserved.