public static interface UploadPartRequest.Builder extends S3Request.Builder, CopyableBuilder<UploadPartRequest.Builder,UploadPartRequest>
Modifier and Type | Method and Description |
---|---|
UploadPartRequest.Builder |
bucket(String bucket)
Name of the bucket to which the multipart upload was initiated.
|
UploadPartRequest.Builder |
contentLength(Long contentLength)
Size of the body in bytes.
|
UploadPartRequest.Builder |
contentMD5(String contentMD5)
The base64-encoded 128-bit MD5 digest of the part data.
|
UploadPartRequest.Builder |
key(String key)
Object key for which the multipart upload was initiated.
|
UploadPartRequest.Builder |
partNumber(Integer partNumber)
Part number of part being uploaded.
|
UploadPartRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UploadPartRequest.Builder |
requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.
|
UploadPartRequest.Builder |
requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.
|
UploadPartRequest.Builder |
sseCustomerAlgorithm(String sseCustomerAlgorithm)
Specifies the algorithm to use to when encrypting the object (e.g., AES256).
|
UploadPartRequest.Builder |
sseCustomerKey(String sseCustomerKey)
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
|
UploadPartRequest.Builder |
sseCustomerKeyMD5(String sseCustomerKeyMD5)
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
UploadPartRequest.Builder |
uploadId(String uploadId)
Upload ID identifying the multipart upload whose part is being uploaded.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
UploadPartRequest.Builder bucket(String bucket)
bucket
- Name of the bucket to which the multipart upload was initiated.UploadPartRequest.Builder contentLength(Long contentLength)
contentLength
- Size of the body in bytes. This parameter is useful when the size of the body cannot be determined
automatically.UploadPartRequest.Builder contentMD5(String contentMD5)
contentMD5
- The base64-encoded 128-bit MD5 digest of the part data.UploadPartRequest.Builder key(String key)
key
- Object key for which the multipart upload was initiated.UploadPartRequest.Builder partNumber(Integer partNumber)
partNumber
- Part number of part being uploaded. This is a positive integer between 1 and 10,000.UploadPartRequest.Builder uploadId(String uploadId)
uploadId
- Upload ID identifying the multipart upload whose part is being uploaded.UploadPartRequest.Builder sseCustomerAlgorithm(String sseCustomerAlgorithm)
sseCustomerAlgorithm
- Specifies the algorithm to use to when encrypting the object (e.g., AES256).UploadPartRequest.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.UploadPartRequest.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.UploadPartRequest.Builder requestPayer(String requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
UploadPartRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
UploadPartRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.