Interface CreateMultipartUploadResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateMultipartUploadResponse.Builder,
,CreateMultipartUploadResponse> S3Response.Builder
,SdkBuilder<CreateMultipartUploadResponse.Builder,
,CreateMultipartUploadResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateMultipartUploadResponse
-
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, the response includes this header.abortRuleId
(String abortRuleId) This header is returned along with thex-amz-abort-date
header.The name of the bucket to which the multipart upload was initiated.bucketKeyEnabled
(Boolean bucketKeyEnabled) Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).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.Object key for which the multipart upload was initiated.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.serverSideEncryption
(String serverSideEncryption) The server-side encryption algorithm used when storing this object in Amazon S3 (for example,AES256
,aws:kms
).serverSideEncryption
(ServerSideEncryption serverSideEncryption) The server-side encryption algorithm used when storing this object in Amazon S3 (for example,AES256
,aws:kms
).sseCustomerAlgorithm
(String sseCustomerAlgorithm) If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.sseCustomerKeyMD5
(String sseCustomerKeyMD5) If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.ssekmsEncryptionContext
(String ssekmsEncryptionContext) If present, specifies the Amazon Web Services KMS Encryption Context to use for object encryption.ssekmsKeyId
(String ssekmsKeyId) If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.ID for the initiated multipart upload.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
-
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, the response includes this header. The header indicates when the initiated multipart upload becomes eligible for an abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.
The response also includes the
x-amz-abort-rule-id
header that provides the ID of the lifecycle configuration rule that defines this action.- 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, the response includes this header. The header indicates when the initiated multipart upload becomes eligible for an abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.The response also includes the
x-amz-abort-rule-id
header that provides the ID of the lifecycle configuration rule that defines this action.- 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-date
header. It identifies the applicable lifecycle configuration rule that defines the action to abort incomplete multipart uploads.- Parameters:
abortRuleId
- This header is returned along with thex-amz-abort-date
header. It identifies the applicable lifecycle configuration rule that defines the action to abort incomplete multipart uploads.- 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.
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 you use 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 you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.- 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.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 you use 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 you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.- 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
ID for the initiated multipart upload.
- Parameters:
uploadId
- ID for the initiated multipart upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryption
The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
AES256
,aws:kms
).- Parameters:
serverSideEncryption
- The server-side encryption algorithm used when storing this object in Amazon S3 (for example,AES256
,aws:kms
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverSideEncryption
CreateMultipartUploadResponse.Builder serverSideEncryption(ServerSideEncryption serverSideEncryption) The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
AES256
,aws:kms
).- Parameters:
serverSideEncryption
- The server-side encryption algorithm used when storing this object in Amazon S3 (for example,AES256
,aws:kms
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sseCustomerAlgorithm
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
- Parameters:
sseCustomerAlgorithm
- If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseCustomerKeyMD5
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
- Parameters:
sseCustomerKeyMD5
- If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssekmsKeyId
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
- Parameters:
ssekmsKeyId
- If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssekmsEncryptionContext
If present, specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
- Parameters:
ssekmsEncryptionContext
- If present, specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketKeyEnabled
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
- Parameters:
bucketKeyEnabled
- Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).- 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:
-
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:
-