@Generated(value="software.amazon.awssdk:codegen") public final class CreateMultipartUploadRequest extends S3Request implements ToCopyableBuilder<CreateMultipartUploadRequest.Builder,CreateMultipartUploadRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateMultipartUploadRequest.Builder |
Modifier and Type | Method and Description |
---|---|
ObjectCannedACL |
acl()
The canned ACL to apply to the object.
|
String |
aclAsString()
The canned ACL to apply to the object.
|
String |
bucket()
|
static CreateMultipartUploadRequest.Builder |
builder() |
String |
cacheControl()
Specifies caching behavior along the request/reply chain.
|
String |
contentDisposition()
Specifies presentational information for the object.
|
String |
contentEncoding()
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be
applied to obtain the media-type referenced by the Content-Type header field.
|
String |
contentLanguage()
The language the content is in.
|
String |
contentType()
A standard MIME type describing the format of the object data.
|
boolean |
equals(Object obj) |
Instant |
expires()
The date and time at which the object is no longer cacheable.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
grantFullControl()
Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
|
String |
grantRead()
Allows grantee to read the object data and its metadata.
|
String |
grantReadACP()
Allows grantee to read the object ACL.
|
String |
grantWriteACP()
Allows grantee to write the ACL for the applicable object.
|
int |
hashCode() |
String |
key()
|
Map<String,String> |
metadata()
A map of metadata to store with the object in S3.
|
ObjectLockLegalHoldStatus |
objectLockLegalHoldStatus()
Specifies whether you want to apply a Legal Hold to the uploaded object.
|
String |
objectLockLegalHoldStatusAsString()
Specifies whether you want to apply a Legal Hold to the uploaded object.
|
ObjectLockMode |
objectLockMode()
Specifies the Object Lock mode that you want to apply to the uploaded object.
|
String |
objectLockModeAsString()
Specifies the Object Lock mode that you want to apply to the uploaded object.
|
Instant |
objectLockRetainUntilDate()
Specifies the date and time when you want the Object Lock to expire.
|
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 CreateMultipartUploadRequest.Builder> |
serializableBuilderClass() |
ServerSideEncryption |
serverSideEncryption()
The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).
|
String |
serverSideEncryptionAsString()
The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).
|
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.
|
String |
ssekmsKeyId()
Specifies the AWS KMS key ID to use for object encryption.
|
StorageClass |
storageClass()
The type of storage to use for the object.
|
String |
storageClassAsString()
The type of storage to use for the object.
|
String |
tagging()
The tag-set for the object.
|
CreateMultipartUploadRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
websiteRedirectLocation()
If the bucket is configured as a website, redirects requests for this object to another object in the same bucket
or to an external URL.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public ObjectCannedACL acl()
The canned ACL to apply to the object.
If the service returns an enum value that is not available in the current SDK version, acl
will return
ObjectCannedACL.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
aclAsString()
.
ObjectCannedACL
public String aclAsString()
The canned ACL to apply to the object.
If the service returns an enum value that is not available in the current SDK version, acl
will return
ObjectCannedACL.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
aclAsString()
.
ObjectCannedACL
public String bucket()
public String cacheControl()
Specifies caching behavior along the request/reply chain.
public String contentDisposition()
Specifies presentational information for the object.
public String contentEncoding()
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.
public String contentLanguage()
The language the content is in.
public String contentType()
A standard MIME type describing the format of the object data.
public Instant expires()
The date and time at which the object is no longer cacheable.
public String grantFullControl()
Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
public String grantRead()
Allows grantee to read the object data and its metadata.
public String grantReadACP()
Allows grantee to read the object ACL.
public String grantWriteACP()
Allows grantee to write the ACL for the applicable object.
public String key()
public Map<String,String> metadata()
A map of metadata to store with the object in S3.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ServerSideEncryption serverSideEncryption()
The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).
If the service returns an enum value that is not available in the current SDK version,
serverSideEncryption
will return ServerSideEncryption.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from serverSideEncryptionAsString()
.
ServerSideEncryption
public String serverSideEncryptionAsString()
The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).
If the service returns an enum value that is not available in the current SDK version,
serverSideEncryption
will return ServerSideEncryption.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from serverSideEncryptionAsString()
.
ServerSideEncryption
public StorageClass storageClass()
The type of storage to use for the object. Defaults to 'STANDARD'.
If the service returns an enum value that is not available in the current SDK version, storageClass
will
return StorageClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
storageClassAsString()
.
StorageClass
public String storageClassAsString()
The type of storage to use for the object. Defaults to 'STANDARD'.
If the service returns an enum value that is not available in the current SDK version, storageClass
will
return StorageClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
storageClassAsString()
.
StorageClass
public String websiteRedirectLocation()
If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.
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.
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 ssekmsKeyId()
Specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS will fail if not made via SSL or using SigV4. Documentation on configuring any of the officially supported AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
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 String tagging()
The tag-set for the object. The tag-set must be encoded as URL Query parameters
public ObjectLockMode objectLockMode()
Specifies the Object Lock mode that you want to apply to the uploaded object.
If the service returns an enum value that is not available in the current SDK version, objectLockMode
will return ObjectLockMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from objectLockModeAsString()
.
ObjectLockMode
public String objectLockModeAsString()
Specifies the Object Lock mode that you want to apply to the uploaded object.
If the service returns an enum value that is not available in the current SDK version, objectLockMode
will return ObjectLockMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from objectLockModeAsString()
.
ObjectLockMode
public Instant objectLockRetainUntilDate()
Specifies the date and time when you want the Object Lock to expire.
public ObjectLockLegalHoldStatus objectLockLegalHoldStatus()
Specifies whether you want to apply a Legal Hold to the uploaded object.
If the service returns an enum value that is not available in the current SDK version,
objectLockLegalHoldStatus
will return ObjectLockLegalHoldStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from objectLockLegalHoldStatusAsString()
.
ObjectLockLegalHoldStatus
public String objectLockLegalHoldStatusAsString()
Specifies whether you want to apply a Legal Hold to the uploaded object.
If the service returns an enum value that is not available in the current SDK version,
objectLockLegalHoldStatus
will return ObjectLockLegalHoldStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from objectLockLegalHoldStatusAsString()
.
ObjectLockLegalHoldStatus
public CreateMultipartUploadRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateMultipartUploadRequest.Builder,CreateMultipartUploadRequest>
toBuilder
in class S3Request
public static CreateMultipartUploadRequest.Builder builder()
public static Class<? extends CreateMultipartUploadRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.