Interface CreateMultipartUploadResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateMultipartUploadResponse.Builder,CreateMultipartUploadResponse>,S3Response.Builder,SdkBuilder<CreateMultipartUploadResponse.Builder,CreateMultipartUploadResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateMultipartUploadResponse
public static interface CreateMultipartUploadResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<CreateMultipartUploadResponse.Builder,CreateMultipartUploadResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateMultipartUploadResponse.BuilderabortDate(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, the response includes this header.CreateMultipartUploadResponse.BuilderabortRuleId(String abortRuleId)This header is returned along with thex-amz-abort-dateheader.CreateMultipartUploadResponse.Builderbucket(String bucket)The name of the bucket to which the multipart upload was initiated.CreateMultipartUploadResponse.BuilderbucketKeyEnabled(Boolean bucketKeyEnabled)Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).CreateMultipartUploadResponse.BuilderchecksumAlgorithm(String checksumAlgorithm)The algorithm that was used to create a checksum of the object.CreateMultipartUploadResponse.BuilderchecksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)The algorithm that was used to create a checksum of the object.CreateMultipartUploadResponse.Builderkey(String key)Object key for which the multipart upload was initiated.CreateMultipartUploadResponse.BuilderrequestCharged(String requestCharged)Sets the value of the RequestCharged property for this object.CreateMultipartUploadResponse.BuilderrequestCharged(RequestCharged requestCharged)Sets the value of the RequestCharged property for this object.CreateMultipartUploadResponse.BuilderserverSideEncryption(String serverSideEncryption)The server-side encryption algorithm used when you store this object in Amazon S3 (for example,AES256,aws:kms).CreateMultipartUploadResponse.BuilderserverSideEncryption(ServerSideEncryption serverSideEncryption)The server-side encryption algorithm used when you store this object in Amazon S3 (for example,AES256,aws:kms).CreateMultipartUploadResponse.BuildersseCustomerAlgorithm(String sseCustomerAlgorithm)If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used.CreateMultipartUploadResponse.BuildersseCustomerKeyMD5(String sseCustomerKeyMD5)If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key.CreateMultipartUploadResponse.BuilderssekmsEncryptionContext(String ssekmsEncryptionContext)If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption.CreateMultipartUploadResponse.BuilderssekmsKeyId(String ssekmsKeyId)If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.CreateMultipartUploadResponse.BuilderuploadId(String uploadId)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 Detail
-
abortDate
CreateMultipartUploadResponse.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, 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 in the Amazon S3 User Guide.
The response also includes the
x-amz-abort-rule-idheader that provides the ID of the lifecycle configuration rule that defines the abort 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, 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 in the Amazon S3 User Guide.The response also includes the
x-amz-abort-rule-idheader that provides the ID of the lifecycle configuration rule that defines the abort 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
CreateMultipartUploadResponse.Builder abortRuleId(String abortRuleId)
This header is returned along with the
x-amz-abort-dateheader. It identifies the 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 the 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
CreateMultipartUploadResponse.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.
Access points are not supported by directory buckets.
- 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.Access points are not supported by directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
CreateMultipartUploadResponse.Builder key(String 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
CreateMultipartUploadResponse.Builder uploadId(String 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
CreateMultipartUploadResponse.Builder serverSideEncryption(String serverSideEncryption)
The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
AES256,aws:kms).For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256) is supported.- Parameters:
serverSideEncryption- The server-side encryption algorithm used when you store this object in Amazon S3 (for example,AES256,aws:kms).For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256) is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServerSideEncryption,ServerSideEncryption
-
serverSideEncryption
CreateMultipartUploadResponse.Builder serverSideEncryption(ServerSideEncryption serverSideEncryption)
The server-side encryption algorithm used when you store this object in Amazon S3 (for example,
AES256,aws:kms).For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256) is supported.- Parameters:
serverSideEncryption- The server-side encryption algorithm used when you store this object in Amazon S3 (for example,AES256,aws:kms).For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (
AES256) is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServerSideEncryption,ServerSideEncryption
-
sseCustomerAlgorithm
CreateMultipartUploadResponse.Builder sseCustomerAlgorithm(String sseCustomerAlgorithm)
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used.
This functionality is not supported for directory buckets.
- Parameters:
sseCustomerAlgorithm- If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseCustomerKeyMD5
CreateMultipartUploadResponse.Builder sseCustomerKeyMD5(String sseCustomerKeyMD5)
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key.
This functionality is not supported for directory buckets.
- Parameters:
sseCustomerKeyMD5- If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssekmsKeyId
CreateMultipartUploadResponse.Builder ssekmsKeyId(String ssekmsKeyId)
If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
- Parameters:
ssekmsKeyId- If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for 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.
-
ssekmsEncryptionContext
CreateMultipartUploadResponse.Builder ssekmsEncryptionContext(String ssekmsEncryptionContext)
If present, indicates 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.
This functionality is not supported for directory buckets.
- Parameters:
ssekmsEncryptionContext- If present, indicates 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.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketKeyEnabled
CreateMultipartUploadResponse.Builder 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).
This functionality is not supported for directory buckets.
- Parameters:
bucketKeyEnabled- Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestCharged
CreateMultipartUploadResponse.Builder requestCharged(String 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,RequestCharged
-
requestCharged
CreateMultipartUploadResponse.Builder requestCharged(RequestCharged 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,RequestCharged
-
checksumAlgorithm
CreateMultipartUploadResponse.Builder checksumAlgorithm(String 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,ChecksumAlgorithm
-
checksumAlgorithm
CreateMultipartUploadResponse.Builder checksumAlgorithm(ChecksumAlgorithm 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,ChecksumAlgorithm
-
-