Interface GetObjectAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetObjectAttributesResponse.Builder,
,GetObjectAttributesResponse> S3Response.Builder
,SdkBuilder<GetObjectAttributesResponse.Builder,
,GetObjectAttributesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetObjectAttributesResponse
-
Method Summary
Modifier and TypeMethodDescriptionchecksum
(Consumer<Checksum.Builder> checksum) The checksum or digest of the object.The checksum or digest of the object.deleteMarker
(Boolean deleteMarker) Specifies whether the object retrieved was (true
) or was not (false
) a delete marker.An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.lastModified
(Instant lastModified) The creation date of the object.objectParts
(Consumer<GetObjectAttributesParts.Builder> objectParts) A collection of parts associated with a multipart upload.objectParts
(GetObjectAttributesParts objectParts) A collection of parts associated with a multipart upload.objectSize
(Long objectSize) The size of the object in bytes.requestCharged
(String requestCharged) Sets the value of the RequestCharged property for this object.requestCharged
(RequestCharged requestCharged) Sets the value of the RequestCharged property for this object.storageClass
(String storageClass) Provides the storage class information of the object.storageClass
(StorageClass storageClass) Provides the storage class information of the object.The version ID of the object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deleteMarker
Specifies whether the object retrieved was (
true
) or was not (false
) a delete marker. Iffalse
, 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. Iffalse
, 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
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
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
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 theChecksum.Builder
avoiding the need to create one manually viaChecksum.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochecksum(Checksum)
.- Parameters:
checksum
- a consumer that will call methods onChecksum.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
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 viaGetObjectAttributesParts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toobjectParts(GetObjectAttributesParts)
.- Parameters:
objectParts
- a consumer that will call methods onGetObjectAttributesParts.Builder
- 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:
-
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
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.
-