public static interface UploadPartCopyRequest.Builder extends S3Request.Builder, CopyableBuilder<UploadPartCopyRequest.Builder,UploadPartCopyRequest>
Modifier and Type | Method and Description |
---|---|
UploadPartCopyRequest.Builder |
bucket(String bucket)
Sets the value of the Bucket property for this object.
|
UploadPartCopyRequest.Builder |
copySource(String copySource)
The name of the source bucket and key name of the source object, separated by a slash (/).
|
UploadPartCopyRequest.Builder |
copySourceIfMatch(String copySourceIfMatch)
Copies the object if its entity tag (ETag) matches the specified tag.
|
UploadPartCopyRequest.Builder |
copySourceIfModifiedSince(Instant copySourceIfModifiedSince)
Copies the object if it has been modified since the specified time.
|
UploadPartCopyRequest.Builder |
copySourceIfNoneMatch(String copySourceIfNoneMatch)
Copies the object if its entity tag (ETag) is different than the specified ETag.
|
UploadPartCopyRequest.Builder |
copySourceIfUnmodifiedSince(Instant copySourceIfUnmodifiedSince)
Copies the object if it hasn't been modified since the specified time.
|
UploadPartCopyRequest.Builder |
copySourceRange(String copySourceRange)
The range of bytes to copy from the source object.
|
UploadPartCopyRequest.Builder |
copySourceSSECustomerAlgorithm(String copySourceSSECustomerAlgorithm)
Specifies the algorithm to use when decrypting the source object (e.g., AES256).
|
UploadPartCopyRequest.Builder |
copySourceSSECustomerKey(String copySourceSSECustomerKey)
Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object.
|
UploadPartCopyRequest.Builder |
copySourceSSECustomerKeyMD5(String copySourceSSECustomerKeyMD5)
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
UploadPartCopyRequest.Builder |
key(String key)
Sets the value of the Key property for this object.
|
UploadPartCopyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UploadPartCopyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UploadPartCopyRequest.Builder |
partNumber(Integer partNumber)
Part number of part being copied.
|
UploadPartCopyRequest.Builder |
requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.
|
UploadPartCopyRequest.Builder |
requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.
|
UploadPartCopyRequest.Builder |
sseCustomerAlgorithm(String sseCustomerAlgorithm)
Specifies the algorithm to use to when encrypting the object (e.g., AES256).
|
UploadPartCopyRequest.Builder |
sseCustomerKey(String sseCustomerKey)
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
|
UploadPartCopyRequest.Builder |
sseCustomerKeyMD5(String sseCustomerKeyMD5)
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
UploadPartCopyRequest.Builder |
uploadId(String uploadId)
Upload ID identifying the multipart upload whose part is being copied.
|
build
overrideConfiguration
copy
applyMutation, build
UploadPartCopyRequest.Builder bucket(String bucket)
bucket
- The new value for the Bucket property for this object.UploadPartCopyRequest.Builder copySource(String copySource)
copySource
- The name of the source bucket and key name of the source object, separated by a slash (/). Must be
URL-encoded.UploadPartCopyRequest.Builder copySourceIfMatch(String copySourceIfMatch)
copySourceIfMatch
- Copies the object if its entity tag (ETag) matches the specified tag.UploadPartCopyRequest.Builder copySourceIfModifiedSince(Instant copySourceIfModifiedSince)
copySourceIfModifiedSince
- Copies the object if it has been modified since the specified time.UploadPartCopyRequest.Builder copySourceIfNoneMatch(String copySourceIfNoneMatch)
copySourceIfNoneMatch
- Copies the object if its entity tag (ETag) is different than the specified ETag.UploadPartCopyRequest.Builder copySourceIfUnmodifiedSince(Instant copySourceIfUnmodifiedSince)
copySourceIfUnmodifiedSince
- Copies the object if it hasn't been modified since the specified time.UploadPartCopyRequest.Builder copySourceRange(String copySourceRange)
copySourceRange
- The range of bytes to copy from the source object. The range value must use the form bytes=first-last,
where the first and last are the zero-based byte offsets to copy. For example, bytes=0-9 indicates
that you want to copy the first ten bytes of the source. You can copy a range only if the source
object is greater than 5 GB.UploadPartCopyRequest.Builder key(String key)
key
- The new value for the Key property for this object.UploadPartCopyRequest.Builder partNumber(Integer partNumber)
partNumber
- Part number of part being copied. This is a positive integer between 1 and 10,000.UploadPartCopyRequest.Builder uploadId(String uploadId)
uploadId
- Upload ID identifying the multipart upload whose part is being copied.UploadPartCopyRequest.Builder sseCustomerAlgorithm(String sseCustomerAlgorithm)
sseCustomerAlgorithm
- Specifies the algorithm to use to when encrypting the object (e.g., AES256).UploadPartCopyRequest.Builder sseCustomerKey(String sseCustomerKey)
sseCustomerKey
- Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is
used to store the object and then it is discarded; Amazon does not store the encryption key. The key
must be appropriate for use with the algorithm specified in the
x-amz-server-side-encryption-customer-algorithm header. This must be the same encryption key
specified in the initiate multipart upload request.UploadPartCopyRequest.Builder sseCustomerKeyMD5(String sseCustomerKeyMD5)
sseCustomerKeyMD5
- Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this
header for a message integrity check to ensure the encryption key was transmitted without error.UploadPartCopyRequest.Builder copySourceSSECustomerAlgorithm(String copySourceSSECustomerAlgorithm)
copySourceSSECustomerAlgorithm
- Specifies the algorithm to use when decrypting the source object (e.g., AES256).UploadPartCopyRequest.Builder copySourceSSECustomerKey(String copySourceSSECustomerKey)
copySourceSSECustomerKey
- Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The
encryption key provided in this header must be one that was used when the source object was created.UploadPartCopyRequest.Builder copySourceSSECustomerKeyMD5(String copySourceSSECustomerKeyMD5)
copySourceSSECustomerKeyMD5
- Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this
header for a message integrity check to ensure the encryption key was transmitted without error.UploadPartCopyRequest.Builder requestPayer(String requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
UploadPartCopyRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
UploadPartCopyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UploadPartCopyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.