Interface CompleteMultipartUploadResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CompleteMultipartUploadResponse.Builder,CompleteMultipartUploadResponse>
,S3Response.Builder
,SdkBuilder<CompleteMultipartUploadResponse.Builder,CompleteMultipartUploadResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CompleteMultipartUploadResponse
public static interface CompleteMultipartUploadResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<CompleteMultipartUploadResponse.Builder,CompleteMultipartUploadResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompleteMultipartUploadResponse.Builder
bucket(String bucket)
The name of the bucket that contains the newly created object.CompleteMultipartUploadResponse.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).CompleteMultipartUploadResponse.Builder
checksumCRC32(String checksumCRC32)
The base64-encoded, 32-bit CRC-32 checksum of the object.CompleteMultipartUploadResponse.Builder
checksumCRC32C(String checksumCRC32C)
The base64-encoded, 32-bit CRC-32C checksum of the object.CompleteMultipartUploadResponse.Builder
checksumSHA1(String checksumSHA1)
The base64-encoded, 160-bit SHA-1 digest of the object.CompleteMultipartUploadResponse.Builder
checksumSHA256(String checksumSHA256)
The base64-encoded, 256-bit SHA-256 digest of the object.CompleteMultipartUploadResponse.Builder
eTag(String eTag)
Entity tag that identifies the newly created object's data.CompleteMultipartUploadResponse.Builder
expiration(String expiration)
If the object expiration is configured, this will contain the expiration date (expiry-date
) and rule ID (rule-id
).CompleteMultipartUploadResponse.Builder
key(String key)
The object key of the newly created object.CompleteMultipartUploadResponse.Builder
location(String location)
The URI that identifies the newly created object.CompleteMultipartUploadResponse.Builder
requestCharged(String requestCharged)
Sets the value of the RequestCharged property for this object.CompleteMultipartUploadResponse.Builder
requestCharged(RequestCharged requestCharged)
Sets the value of the RequestCharged property for this object.CompleteMultipartUploadResponse.Builder
serverSideEncryption(String serverSideEncryption)
The server-side encryption algorithm used when storing this object in Amazon S3 (for example,AES256
,aws:kms
).CompleteMultipartUploadResponse.Builder
serverSideEncryption(ServerSideEncryption serverSideEncryption)
The server-side encryption algorithm used when storing this object in Amazon S3 (for example,AES256
,aws:kms
).CompleteMultipartUploadResponse.Builder
ssekmsKeyId(String ssekmsKeyId)
If present, indicates the ID of the KMS key that was used for object encryption.CompleteMultipartUploadResponse.Builder
versionId(String versionId)
Version ID of the newly created object, in case the bucket has versioning turned on.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
location
CompleteMultipartUploadResponse.Builder location(String location)
The URI that identifies the newly created object.
- Parameters:
location
- The URI that identifies the newly created object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
CompleteMultipartUploadResponse.Builder bucket(String bucket)
The name of the bucket that contains the newly created object. 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 that contains the newly created object. 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
CompleteMultipartUploadResponse.Builder key(String key)
The object key of the newly created object.
- Parameters:
key
- The object key of the newly created object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
CompleteMultipartUploadResponse.Builder expiration(String expiration)
If the object expiration is configured, this will contain the expiration date (
expiry-date
) and rule ID (rule-id
). The value ofrule-id
is URL-encoded.This functionality is not supported for directory buckets.
- Parameters:
expiration
- If the object expiration is configured, this will contain the expiration date (expiry-date
) and rule ID (rule-id
). The value ofrule-id
is URL-encoded.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eTag
CompleteMultipartUploadResponse.Builder eTag(String eTag)
Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits. For more information about how the entity tag is calculated, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
eTag
- Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits. For more information about how the entity tag is calculated, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC32
CompleteMultipartUploadResponse.Builder checksumCRC32(String checksumCRC32)
The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumCRC32
- The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC32C
CompleteMultipartUploadResponse.Builder checksumCRC32C(String checksumCRC32C)
The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumCRC32C
- The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA1
CompleteMultipartUploadResponse.Builder checksumSHA1(String checksumSHA1)
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumSHA1
- The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA256
CompleteMultipartUploadResponse.Builder checksumSHA256(String checksumSHA256)
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
- Parameters:
checksumSHA256
- The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryption
CompleteMultipartUploadResponse.Builder serverSideEncryption(String 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
,ServerSideEncryption
-
serverSideEncryption
CompleteMultipartUploadResponse.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:
ServerSideEncryption
,ServerSideEncryption
-
versionId
CompleteMultipartUploadResponse.Builder versionId(String versionId)
Version ID of the newly created object, in case the bucket has versioning turned on.
This functionality is not supported for directory buckets.
- Parameters:
versionId
- Version ID of the newly created object, in case the bucket has versioning turned on.This functionality is not supported for directory buckets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssekmsKeyId
CompleteMultipartUploadResponse.Builder ssekmsKeyId(String ssekmsKeyId)
If present, indicates the ID of the KMS key that was used for object encryption.
- Parameters:
ssekmsKeyId
- If present, indicates the ID of the KMS key that was used for object encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketKeyEnabled
CompleteMultipartUploadResponse.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).
- 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
CompleteMultipartUploadResponse.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
CompleteMultipartUploadResponse.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
-
-