@Mutable @NotThreadSafe public static interface ListPartsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<ListPartsResponse.Builder,ListPartsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListPartsResponse.Builder |
abortDate(Instant abortDate)
If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the
prefix in the lifecycle rule matches the object name in the request, then the response includes this header
indicating when the initiated multipart upload will become eligible for abort operation.
|
ListPartsResponse.Builder |
abortRuleId(String abortRuleId)
This header is returned along with the
x-amz-abort-date header. |
ListPartsResponse.Builder |
bucket(String bucket)
The name of the bucket to which the multipart upload was initiated.
|
ListPartsResponse.Builder |
checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)
The algorithm that was used to create a checksum of the object.
|
ListPartsResponse.Builder |
checksumAlgorithm(String checksumAlgorithm)
The algorithm that was used to create a checksum of the object.
|
ListPartsResponse.Builder |
checksumType(ChecksumType checksumType)
The checksum type, which determines how part-level checksums are combined to create an object-level checksum
for multipart objects.
|
ListPartsResponse.Builder |
checksumType(String checksumType)
The checksum type, which determines how part-level checksums are combined to create an object-level checksum
for multipart objects.
|
default ListPartsResponse.Builder |
initiator(Consumer<Initiator.Builder> initiator)
Container element that identifies who initiated the multipart upload.
|
ListPartsResponse.Builder |
initiator(Initiator initiator)
Container element that identifies who initiated the multipart upload.
|
ListPartsResponse.Builder |
isTruncated(Boolean isTruncated)
Indicates whether the returned list of parts is truncated.
|
ListPartsResponse.Builder |
key(String key)
Object key for which the multipart upload was initiated.
|
ListPartsResponse.Builder |
maxParts(Integer maxParts)
Maximum number of parts that were allowed in the response.
|
ListPartsResponse.Builder |
nextPartNumberMarker(Integer nextPartNumberMarker)
When a list is truncated, this element specifies the last part in the list, as well as the value to use for
the
part-number-marker request parameter in a subsequent request. |
default ListPartsResponse.Builder |
owner(Consumer<Owner.Builder> owner)
Container element that identifies the object owner, after the object is created.
|
ListPartsResponse.Builder |
owner(Owner owner)
Container element that identifies the object owner, after the object is created.
|
ListPartsResponse.Builder |
partNumberMarker(Integer partNumberMarker)
Specifies the part after which listing should begin.
|
ListPartsResponse.Builder |
parts(Collection<Part> parts)
Container for elements related to a particular part.
|
ListPartsResponse.Builder |
parts(Consumer<Part.Builder>... parts)
Container for elements related to a particular part.
|
ListPartsResponse.Builder |
parts(Part... parts)
Container for elements related to a particular part.
|
ListPartsResponse.Builder |
requestCharged(RequestCharged requestCharged)
Sets the value of the RequestCharged property for this object.
|
ListPartsResponse.Builder |
requestCharged(String requestCharged)
Sets the value of the RequestCharged property for this object.
|
ListPartsResponse.Builder |
storageClass(StorageClass storageClass)
The class of storage used to store the uploaded object.
|
ListPartsResponse.Builder |
storageClass(String storageClass)
The class of storage used to store the uploaded object.
|
ListPartsResponse.Builder |
uploadId(String uploadId)
Upload ID identifying the multipart upload whose parts are being listed.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldNameToField, sdkFieldscopyapplyMutation, buildListPartsResponse.Builder abortDate(Instant abortDate)
If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and the prefix in the lifecycle rule matches the object name in the request, then the response includes this header indicating when the initiated multipart upload will become eligible for abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.
The response will also include the x-amz-abort-rule-id header that will provide the ID of the
lifecycle configuration rule that defines this action.
This functionality is not supported for directory buckets.
abortDate - If the bucket has a lifecycle rule configured with an action to abort incomplete multipart uploads and
the prefix in the lifecycle rule matches the object name in the request, then the response includes
this header indicating when the initiated multipart upload will become eligible for abort operation.
For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.
The response will also include the x-amz-abort-rule-id header that will provide the ID of
the lifecycle configuration rule that defines this action.
This functionality is not supported for directory buckets.
ListPartsResponse.Builder abortRuleId(String abortRuleId)
This header is returned along with the x-amz-abort-date header. It identifies applicable
lifecycle configuration rule that defines the action to abort incomplete multipart uploads.
This functionality is not supported for directory buckets.
abortRuleId - This header is returned along with the x-amz-abort-date header. It identifies applicable
lifecycle configuration rule that defines the action to abort incomplete multipart uploads. This functionality is not supported for directory buckets.
ListPartsResponse.Builder bucket(String bucket)
The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
bucket - The name of the bucket to which the multipart upload was initiated. Does not return the access point
ARN or access point alias if used.ListPartsResponse.Builder key(String key)
Object key for which the multipart upload was initiated.
key - Object key for which the multipart upload was initiated.ListPartsResponse.Builder uploadId(String uploadId)
Upload ID identifying the multipart upload whose parts are being listed.
uploadId - Upload ID identifying the multipart upload whose parts are being listed.ListPartsResponse.Builder partNumberMarker(Integer partNumberMarker)
Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.
partNumberMarker - Specifies the part after which listing should begin. Only parts with higher part numbers will be
listed.ListPartsResponse.Builder nextPartNumberMarker(Integer nextPartNumberMarker)
When a list is truncated, this element specifies the last part in the list, as well as the value to use for
the part-number-marker request parameter in a subsequent request.
nextPartNumberMarker - When a list is truncated, this element specifies the last part in the list, as well as the value to
use for the part-number-marker request parameter in a subsequent request.ListPartsResponse.Builder maxParts(Integer maxParts)
Maximum number of parts that were allowed in the response.
maxParts - Maximum number of parts that were allowed in the response.ListPartsResponse.Builder isTruncated(Boolean isTruncated)
Indicates whether the returned list of parts is truncated. A true value indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts element.
isTruncated - Indicates whether the returned list of parts is truncated. A true value indicates that the list was
truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts
element.ListPartsResponse.Builder parts(Collection<Part> parts)
Container for elements related to a particular part. A response can contain zero or more Part
elements.
parts - Container for elements related to a particular part. A response can contain zero or more
Part elements.ListPartsResponse.Builder parts(Part... parts)
Container for elements related to a particular part. A response can contain zero or more Part
elements.
parts - Container for elements related to a particular part. A response can contain zero or more
Part elements.ListPartsResponse.Builder parts(Consumer<Part.Builder>... parts)
Container for elements related to a particular part. A response can contain zero or more Part
elements.
Part.Builder avoiding the need to create one manually via
Part.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #parts(List.
parts - a consumer that will call methods on Part.Builder#parts(java.util.Collection) ListPartsResponse.Builder initiator(Initiator initiator)
Container element that identifies who initiated the multipart upload. If the initiator is an Amazon Web
Services account, this element provides the same information as the Owner element. If the
initiator is an IAM User, this element provides the user ARN and display name.
initiator - Container element that identifies who initiated the multipart upload. If the initiator is an Amazon
Web Services account, this element provides the same information as the Owner element. If
the initiator is an IAM User, this element provides the user ARN and display name.default ListPartsResponse.Builder initiator(Consumer<Initiator.Builder> initiator)
Container element that identifies who initiated the multipart upload. If the initiator is an Amazon Web
Services account, this element provides the same information as the Owner element. If the
initiator is an IAM User, this element provides the user ARN and display name.
Initiator.Builder avoiding the need to
create one manually via Initiator.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to initiator(Initiator).
initiator - a consumer that will call methods on Initiator.Builderinitiator(Initiator)ListPartsResponse.Builder owner(Owner owner)
Container element that identifies the object owner, after the object is created. If multipart upload is initiated by an IAM user, this element provides the parent account ID and display name.
Directory buckets - The bucket owner is returned as the object owner for all the parts.
owner - Container element that identifies the object owner, after the object is created. If multipart upload
is initiated by an IAM user, this element provides the parent account ID and display name. Directory buckets - The bucket owner is returned as the object owner for all the parts.
default ListPartsResponse.Builder owner(Consumer<Owner.Builder> owner)
Container element that identifies the object owner, after the object is created. If multipart upload is initiated by an IAM user, this element provides the parent account ID and display name.
Directory buckets - The bucket owner is returned as the object owner for all the parts.
Owner.Builder avoiding the need
to create one manually via Owner.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to owner(Owner).
owner - a consumer that will call methods on Owner.Builderowner(Owner)ListPartsResponse.Builder storageClass(String storageClass)
The class of storage used to store the uploaded object.
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 - The class of storage used to store the uploaded object.
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,
StorageClassListPartsResponse.Builder storageClass(StorageClass storageClass)
The class of storage used to store the uploaded object.
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 - The class of storage used to store the uploaded object.
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,
StorageClassListPartsResponse.Builder requestCharged(String requestCharged)
requestCharged - The new value for the RequestCharged property for this object.RequestCharged,
RequestChargedListPartsResponse.Builder requestCharged(RequestCharged requestCharged)
requestCharged - The new value for the RequestCharged property for this object.RequestCharged,
RequestChargedListPartsResponse.Builder checksumAlgorithm(String checksumAlgorithm)
The algorithm that was used to create a checksum of the object.
checksumAlgorithm - The algorithm that was used to create a checksum of the object.ChecksumAlgorithm,
ChecksumAlgorithmListPartsResponse.Builder checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)
The algorithm that was used to create a checksum of the object.
checksumAlgorithm - The algorithm that was used to create a checksum of the object.ChecksumAlgorithm,
ChecksumAlgorithmListPartsResponse.Builder checksumType(String checksumType)
The checksum type, which determines how part-level checksums are combined to create an object-level checksum
for multipart objects. You can use this header response to verify that the checksum type that is received is
the same checksum type that was specified in CreateMultipartUpload request. For more
information, see Checking object
integrity in the Amazon S3 User Guide.
checksumType - The checksum type, which determines how part-level checksums are combined to create an object-level
checksum for multipart objects. You can use this header response to verify that the checksum type that
is received is the same checksum type that was specified in CreateMultipartUpload
request. For more information, see Checking
object integrity in the Amazon S3 User Guide.ChecksumType,
ChecksumTypeListPartsResponse.Builder checksumType(ChecksumType checksumType)
The checksum type, which determines how part-level checksums are combined to create an object-level checksum
for multipart objects. You can use this header response to verify that the checksum type that is received is
the same checksum type that was specified in CreateMultipartUpload request. For more
information, see Checking object
integrity in the Amazon S3 User Guide.
checksumType - The checksum type, which determines how part-level checksums are combined to create an object-level
checksum for multipart objects. You can use this header response to verify that the checksum type that
is received is the same checksum type that was specified in CreateMultipartUpload
request. For more information, see Checking
object integrity in the Amazon S3 User Guide.ChecksumType,
ChecksumTypeCopyright © 2026. All rights reserved.