public static interface CompleteMultipartUploadRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<CompleteMultipartUploadRequest.Builder,CompleteMultipartUploadRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CompleteMultipartUploadRequest.Builder bucket(String bucket)
Name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon S3 User Guide.
bucket
- Name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this action using S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon S3 User Guide.
CompleteMultipartUploadRequest.Builder key(String key)
Object key for which the multipart upload was initiated.
key
- Object key for which the multipart upload was initiated.CompleteMultipartUploadRequest.Builder multipartUpload(CompletedMultipartUpload multipartUpload)
The container for the multipart upload request information.
multipartUpload
- The container for the multipart upload request information.default CompleteMultipartUploadRequest.Builder multipartUpload(Consumer<CompletedMultipartUpload.Builder> multipartUpload)
The container for the multipart upload request information.
This is a convenience that creates an instance of theCompletedMultipartUpload.Builder
avoiding the
need to create one manually via CompletedMultipartUpload.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to multipartUpload(CompletedMultipartUpload)
.multipartUpload
- a consumer that will call methods on CompletedMultipartUpload.Builder
multipartUpload(CompletedMultipartUpload)
CompleteMultipartUploadRequest.Builder uploadId(String uploadId)
ID for the initiated multipart upload.
uploadId
- ID for the initiated multipart upload.CompleteMultipartUploadRequest.Builder requestPayer(String requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
CompleteMultipartUploadRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
CompleteMultipartUploadRequest.Builder expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will
fail with an HTTP 403 (Access Denied)
error.
expectedBucketOwner
- The account ID of the expected bucket owner. If the bucket is owned by a different account, the
request will fail with an HTTP 403 (Access Denied)
error.CompleteMultipartUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CompleteMultipartUploadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.