@Generated(value="software.amazon.awssdk:codegen") public final class UploadPartCopyRequest extends S3Request implements ToCopyableBuilder<UploadPartCopyRequest.Builder,UploadPartCopyRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UploadPartCopyRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bucket()
|
static UploadPartCopyRequest.Builder |
builder() |
String |
copySource()
The name of the source bucket and key name of the source object, separated by a slash (/).
|
String |
copySourceIfMatch()
Copies the object if its entity tag (ETag) matches the specified tag.
|
Instant |
copySourceIfModifiedSince()
Copies the object if it has been modified since the specified time.
|
String |
copySourceIfNoneMatch()
Copies the object if its entity tag (ETag) is different than the specified ETag.
|
Instant |
copySourceIfUnmodifiedSince()
Copies the object if it hasn't been modified since the specified time.
|
String |
copySourceRange()
The range of bytes to copy from the source object.
|
String |
copySourceSSECustomerAlgorithm()
Specifies the algorithm to use when decrypting the source object (e.g., AES256).
|
String |
copySourceSSECustomerKey()
Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object.
|
String |
copySourceSSECustomerKeyMD5()
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
|
Integer |
partNumber()
Part number of part being copied.
|
RequestPayer |
requestPayer()
Returns the value of the RequestPayer property for this object.
|
String |
requestPayerAsString()
Returns the value of the RequestPayer property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UploadPartCopyRequest.Builder> |
serializableBuilderClass() |
String |
sseCustomerAlgorithm()
Specifies the algorithm to use to when encrypting the object (e.g., AES256).
|
String |
sseCustomerKey()
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data.
|
String |
sseCustomerKeyMD5()
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.
|
UploadPartCopyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
uploadId()
Upload ID identifying the multipart upload whose part is being copied.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String bucket()
public String copySource()
The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded.
public String copySourceIfMatch()
Copies the object if its entity tag (ETag) matches the specified tag.
public Instant copySourceIfModifiedSince()
Copies the object if it has been modified since the specified time.
public String copySourceIfNoneMatch()
Copies the object if its entity tag (ETag) is different than the specified ETag.
public Instant copySourceIfUnmodifiedSince()
Copies the object if it hasn't been modified since the specified time.
public String 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 MB.
public String key()
public Integer partNumber()
Part number of part being copied. This is a positive integer between 1 and 10,000.
public String uploadId()
Upload ID identifying the multipart upload whose part is being copied.
public String sseCustomerAlgorithm()
Specifies the algorithm to use to when encrypting the object (e.g., AES256).
public String 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.
public String 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.
public String copySourceSSECustomerAlgorithm()
Specifies the algorithm to use when decrypting the source object (e.g., AES256).
public String 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.
public String 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.
public RequestPayer requestPayer()
If the service returns an enum value that is not available in the current SDK version, requestPayer
will
return RequestPayer.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
requestPayerAsString()
.
RequestPayer
public String requestPayerAsString()
If the service returns an enum value that is not available in the current SDK version, requestPayer
will
return RequestPayer.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
requestPayerAsString()
.
RequestPayer
public UploadPartCopyRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UploadPartCopyRequest.Builder,UploadPartCopyRequest>
toBuilder
in class S3Request
public static UploadPartCopyRequest.Builder builder()
public static Class<? extends UploadPartCopyRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.