Interface ListPartsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPartsResponse.Builder,,ListPartsResponse> S3Response.Builder,SdkBuilder<ListPartsResponse.Builder,,ListPartsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPartsResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf 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.abortRuleId(String abortRuleId) This header is returned along with thex-amz-abort-dateheader.The name of the bucket to which the multipart upload was initiated.checksumAlgorithm(String checksumAlgorithm) The algorithm that was used to create a checksum of the object.checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm) The algorithm that was used to create a checksum of the object.default ListPartsResponse.Builderinitiator(Consumer<Initiator.Builder> initiator) Container element that identifies who initiated the multipart upload.Container element that identifies who initiated the multipart upload.isTruncated(Boolean isTruncated) Indicates whether the returned list of parts is truncated.Object key for which the multipart upload was initiated.Maximum number of parts that were allowed in the response.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 thepart-number-markerrequest parameter in a subsequent request.default ListPartsResponse.Builderowner(Consumer<Owner.Builder> owner) Container element that identifies the object owner, after the object is created.Container element that identifies the object owner, after the object is created.partNumberMarker(Integer partNumberMarker) Specifies the part after which listing should begin.parts(Collection<Part> parts) Container for elements related to a particular part.parts(Consumer<Part.Builder>... parts) Container for elements related to a particular part.Container for elements related to a particular part.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) The class of storage used to store the uploaded object.storageClass(StorageClass storageClass) The class of storage used to store the uploaded object.Upload ID identifying the multipart upload whose parts are being listed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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-idheader that will provide the ID of the lifecycle configuration rule that defines this action.This functionality is not supported for directory buckets.
- Parameters:
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-idheader that will provide the ID of the lifecycle configuration rule that defines this action.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abortRuleId
This header is returned along with the
x-amz-abort-dateheader. It identifies applicable lifecycle configuration rule that defines the action to abort incomplete multipart uploads.This functionality is not supported for directory buckets.
- Parameters:
abortRuleId- This header is returned along with thex-amz-abort-dateheader. It identifies applicable lifecycle configuration rule that defines the action to abort incomplete multipart uploads.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
Object key for which the multipart upload was initiated.
- Parameters:
key- Object key for which the multipart upload was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadId
Upload ID identifying the multipart upload whose parts are being listed.
- Parameters:
uploadId- Upload ID identifying the multipart upload whose parts are being listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partNumberMarker
Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.
- Parameters:
partNumberMarker- Specifies the part after which listing should begin. Only parts with higher part numbers will be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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-markerrequest parameter in a subsequent request.- Parameters:
nextPartNumberMarker- When a list is truncated, this element specifies the last part in the list, as well as the value to use for thepart-number-markerrequest parameter in a subsequent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxParts
Maximum number of parts that were allowed in the response.
- Parameters:
maxParts- Maximum number of parts that were allowed in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
Container for elements related to a particular part. A response can contain zero or more
Partelements.- Parameters:
parts- Container for elements related to a particular part. A response can contain zero or morePartelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
Container for elements related to a particular part. A response can contain zero or more
Partelements.- Parameters:
parts- Container for elements related to a particular part. A response can contain zero or morePartelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
Container for elements related to a particular part. A response can contain zero or more
This is a convenience method that creates an instance of thePartelements.Part.Builderavoiding the need to create one manually viaPart.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparts(List<Part>).- Parameters:
parts- a consumer that will call methods onPart.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
Ownerelement. If the initiator is an IAM User, this element provides the user ARN and display name.- Parameters:
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 theOwnerelement. If the initiator is an IAM User, this element provides the user ARN and display name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
This is a convenience method that creates an instance of theOwnerelement. If the initiator is an IAM User, this element provides the user ARN and display name.Initiator.Builderavoiding the need to create one manually viaInitiator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinitiator(Initiator).- Parameters:
initiator- a consumer that will call methods onInitiator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theDirectory buckets - The bucket owner is returned as the object owner for all the parts.
Owner.Builderavoiding the need to create one manually viaOwner.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toowner(Owner).- Parameters:
owner- a consumer that will call methods onOwner.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageClass
The class of storage used to store the uploaded object.
Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
- Parameters:
storageClass- The class of storage used to store the uploaded object.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
The class of storage used to store the uploaded object.
Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
- Parameters:
storageClass- The class of storage used to store the uploaded object.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:
-
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:
-
checksumAlgorithm
The algorithm that was used to create a checksum of the object.
- Parameters:
checksumAlgorithm- The algorithm that was used to create a checksum of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksumAlgorithm
The algorithm that was used to create a checksum of the object.
- Parameters:
checksumAlgorithm- The algorithm that was used to create a checksum of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-