Interface CopyObjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CopyObjectRequest.Builder,,CopyObjectRequest> RestXmlDataPlaneRequest.Builder,SdkBuilder<CopyObjectRequest.Builder,,CopyObjectRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CopyObjectRequest
@Mutable
@NotThreadSafe
public static interface CopyObjectRequest.Builder
extends RestXmlDataPlaneRequest.Builder, SdkPojo, CopyableBuilder<CopyObjectRequest.Builder,CopyObjectRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the ACL property for this object.Sets the value of the Bucket property for this object.bucketKeyEnabled(Boolean bucketKeyEnabled) Sets the value of the BucketKeyEnabled property for this object.cacheControl(String cacheControl) Sets the value of the CacheControl property for this object.checksumAlgorithm(String checksumAlgorithm) Sets the value of the ChecksumAlgorithm property for this object.contentDisposition(String contentDisposition) Sets the value of the ContentDisposition property for this object.contentEncoding(String contentEncoding) Sets the value of the ContentEncoding property for this object.contentLanguage(String contentLanguage) Sets the value of the ContentLanguage property for this object.contentType(String contentType) Sets the value of the ContentType property for this object.copySource(String copySource) Sets the value of the CopySource property for this object.copySourceIfMatch(String copySourceIfMatch) Sets the value of the CopySourceIfMatch property for this object.copySourceIfModifiedSince(Instant copySourceIfModifiedSince) Sets the value of the CopySourceIfModifiedSince property for this object.copySourceIfNoneMatch(String copySourceIfNoneMatch) Sets the value of the CopySourceIfNoneMatch property for this object.copySourceIfUnmodifiedSince(Instant copySourceIfUnmodifiedSince) Sets the value of the CopySourceIfUnmodifiedSince property for this object.copySourceSSECustomerAlgorithm(String copySourceSSECustomerAlgorithm) Sets the value of the CopySourceSSECustomerAlgorithm property for this object.copySourceSSECustomerKey(String copySourceSSECustomerKey) Sets the value of the CopySourceSSECustomerKey property for this object.copySourceSSECustomerKeyMD5(String copySourceSSECustomerKeyMD5) Sets the value of the CopySourceSSECustomerKeyMD5 property for this object.expectedBucketOwner(String expectedBucketOwner) Sets the value of the ExpectedBucketOwner property for this object.expectedSourceBucketOwner(String expectedSourceBucketOwner) Sets the value of the ExpectedSourceBucketOwner property for this object.Sets the value of the Expires property for this object.grantFullControl(String grantFullControl) Sets the value of the GrantFullControl property for this object.Sets the value of the GrantRead property for this object.grantReadACP(String grantReadACP) Sets the value of the GrantReadACP property for this object.grantWriteACP(String grantWriteACP) Sets the value of the GrantWriteACP property for this object.Sets the value of the IfMatch property for this object.ifNoneMatch(String ifNoneMatch) Sets the value of the IfNoneMatch property for this object.Sets the value of the Key property for this object.metadataDirective(String metadataDirective) Sets the value of the MetadataDirective property for this object.objectLockLegalHoldStatus(String objectLockLegalHoldStatus) Sets the value of the ObjectLockLegalHoldStatus property for this object.objectLockMode(String objectLockMode) Sets the value of the ObjectLockMode property for this object.objectLockRetainUntilDate(Instant objectLockRetainUntilDate) Sets the value of the ObjectLockRetainUntilDate property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requestPayer(String requestPayer) Sets the value of the RequestPayer property for this object.serverSideEncryption(String serverSideEncryption) Sets the value of the ServerSideEncryption property for this object.sseCustomerAlgorithm(String sseCustomerAlgorithm) Sets the value of the SSECustomerAlgorithm property for this object.sseCustomerKey(String sseCustomerKey) Sets the value of the SSECustomerKey property for this object.sseCustomerKeyMD5(String sseCustomerKeyMD5) Sets the value of the SSECustomerKeyMD5 property for this object.ssekmsEncryptionContext(String ssekmsEncryptionContext) Sets the value of the SSEKMSEncryptionContext property for this object.ssekmsKeyId(String ssekmsKeyId) Sets the value of the SSEKMSKeyId property for this object.storageClass(String storageClass) Sets the value of the StorageClass property for this object.Sets the value of the Tagging property for this object.taggingDirective(String taggingDirective) Sets the value of the TaggingDirective property for this object.websiteRedirectLocation(String websiteRedirectLocation) Sets the value of the WebsiteRedirectLocation property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.restxmldataplane.model.RestXmlDataPlaneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
acl
Sets the value of the ACL property for this object.- Parameters:
acl- The new value for the ACL property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
Sets the value of the Bucket property for this object.- Parameters:
bucket- The new value for the Bucket property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheControl
Sets the value of the CacheControl property for this object.- Parameters:
cacheControl- The new value for the CacheControl property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumAlgorithm
Sets the value of the ChecksumAlgorithm property for this object.- Parameters:
checksumAlgorithm- The new value for the ChecksumAlgorithm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentDisposition
Sets the value of the ContentDisposition property for this object.- Parameters:
contentDisposition- The new value for the ContentDisposition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentEncoding
Sets the value of the ContentEncoding property for this object.- Parameters:
contentEncoding- The new value for the ContentEncoding property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLanguage
Sets the value of the ContentLanguage property for this object.- Parameters:
contentLanguage- The new value for the ContentLanguage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
Sets the value of the ContentType property for this object.- Parameters:
contentType- The new value for the ContentType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copySource
Sets the value of the CopySource property for this object.- Parameters:
copySource- The new value for the CopySource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copySourceIfMatch
Sets the value of the CopySourceIfMatch property for this object.- Parameters:
copySourceIfMatch- The new value for the CopySourceIfMatch property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copySourceIfModifiedSince
Sets the value of the CopySourceIfModifiedSince property for this object.- Parameters:
copySourceIfModifiedSince- The new value for the CopySourceIfModifiedSince property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copySourceIfNoneMatch
Sets the value of the CopySourceIfNoneMatch property for this object.- Parameters:
copySourceIfNoneMatch- The new value for the CopySourceIfNoneMatch property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copySourceIfUnmodifiedSince
Sets the value of the CopySourceIfUnmodifiedSince property for this object.- Parameters:
copySourceIfUnmodifiedSince- The new value for the CopySourceIfUnmodifiedSince property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expires
Sets the value of the Expires property for this object.- Parameters:
expires- The new value for the Expires property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantFullControl
Sets the value of the GrantFullControl property for this object.- Parameters:
grantFullControl- The new value for the GrantFullControl property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantRead
Sets the value of the GrantRead property for this object.- Parameters:
grantRead- The new value for the GrantRead property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantReadACP
Sets the value of the GrantReadACP property for this object.- Parameters:
grantReadACP- The new value for the GrantReadACP property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantWriteACP
Sets the value of the GrantWriteACP property for this object.- Parameters:
grantWriteACP- The new value for the GrantWriteACP property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifMatch
Sets the value of the IfMatch property for this object.- Parameters:
ifMatch- The new value for the IfMatch property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ifNoneMatch
Sets the value of the IfNoneMatch property for this object.- Parameters:
ifNoneMatch- The new value for the IfNoneMatch property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
Sets the value of the Key property for this object.- Parameters:
key- The new value for the Key property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataDirective
Sets the value of the MetadataDirective property for this object.- Parameters:
metadataDirective- The new value for the MetadataDirective property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taggingDirective
Sets the value of the TaggingDirective property for this object.- Parameters:
taggingDirective- The new value for the TaggingDirective property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideEncryption
Sets the value of the ServerSideEncryption property for this object.- Parameters:
serverSideEncryption- The new value for the ServerSideEncryption property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageClass
Sets the value of the StorageClass property for this object.- Parameters:
storageClass- The new value for the StorageClass property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
websiteRedirectLocation
Sets the value of the WebsiteRedirectLocation property for this object.- Parameters:
websiteRedirectLocation- The new value for the WebsiteRedirectLocation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseCustomerAlgorithm
Sets the value of the SSECustomerAlgorithm property for this object.- Parameters:
sseCustomerAlgorithm- The new value for the SSECustomerAlgorithm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseCustomerKey
Sets the value of the SSECustomerKey property for this object.- Parameters:
sseCustomerKey- The new value for the SSECustomerKey property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseCustomerKeyMD5
Sets the value of the SSECustomerKeyMD5 property for this object.- Parameters:
sseCustomerKeyMD5- The new value for the SSECustomerKeyMD5 property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssekmsKeyId
Sets the value of the SSEKMSKeyId property for this object.- Parameters:
ssekmsKeyId- The new value for the SSEKMSKeyId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssekmsEncryptionContext
Sets the value of the SSEKMSEncryptionContext property for this object.- Parameters:
ssekmsEncryptionContext- The new value for the SSEKMSEncryptionContext property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketKeyEnabled
Sets the value of the BucketKeyEnabled property for this object.- Parameters:
bucketKeyEnabled- The new value for the BucketKeyEnabled property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copySourceSSECustomerAlgorithm
Sets the value of the CopySourceSSECustomerAlgorithm property for this object.- Parameters:
copySourceSSECustomerAlgorithm- The new value for the CopySourceSSECustomerAlgorithm property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copySourceSSECustomerKey
Sets the value of the CopySourceSSECustomerKey property for this object.- Parameters:
copySourceSSECustomerKey- The new value for the CopySourceSSECustomerKey property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copySourceSSECustomerKeyMD5
Sets the value of the CopySourceSSECustomerKeyMD5 property for this object.- Parameters:
copySourceSSECustomerKeyMD5- The new value for the CopySourceSSECustomerKeyMD5 property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestPayer
Sets the value of the RequestPayer property for this object.- Parameters:
requestPayer- The new value for the RequestPayer property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagging
Sets the value of the Tagging property for this object.- Parameters:
tagging- The new value for the Tagging property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectLockMode
Sets the value of the ObjectLockMode property for this object.- Parameters:
objectLockMode- The new value for the ObjectLockMode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectLockRetainUntilDate
Sets the value of the ObjectLockRetainUntilDate property for this object.- Parameters:
objectLockRetainUntilDate- The new value for the ObjectLockRetainUntilDate property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectLockLegalHoldStatus
Sets the value of the ObjectLockLegalHoldStatus property for this object.- Parameters:
objectLockLegalHoldStatus- The new value for the ObjectLockLegalHoldStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedBucketOwner
Sets the value of the ExpectedBucketOwner property for this object.- Parameters:
expectedBucketOwner- The new value for the ExpectedBucketOwner property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedSourceBucketOwner
Sets the value of the ExpectedSourceBucketOwner property for this object.- Parameters:
expectedSourceBucketOwner- The new value for the ExpectedSourceBucketOwner property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CopyObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CopyObjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-