Interface PutObjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutObjectRequest.Builder,,PutObjectRequest> RestXmlDataPlaneRequest.Builder,SdkBuilder<PutObjectRequest.Builder,,PutObjectRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutObjectRequest
@Mutable
@NotThreadSafe
public static interface PutObjectRequest.Builder
extends RestXmlDataPlaneRequest.Builder, SdkPojo, CopyableBuilder<PutObjectRequest.Builder,PutObjectRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the ACL property for this object.Sets the value of the Body 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.checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm) Sets the value of the ChecksumAlgorithm property for this object.checksumCRC32(String checksumCRC32) Sets the value of the ChecksumCRC32 property for this object.checksumCRC32C(String checksumCRC32C) Sets the value of the ChecksumCRC32C property for this object.checksumCRC64NVME(String checksumCRC64NVME) Sets the value of the ChecksumCRC64NVME property for this object.checksumSHA1(String checksumSHA1) Sets the value of the ChecksumSHA1 property for this object.checksumSHA256(String checksumSHA256) Sets the value of the ChecksumSHA256 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.contentLength(Long contentLength) Sets the value of the ContentLength property for this object.contentMD5(String contentMD5) Sets the value of the ContentMD5 property for this object.contentType(String contentType) Sets the value of the ContentType property for this object.expectedBucketOwner(String expectedBucketOwner) Sets the value of the ExpectedBucketOwner 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.Sets the value of the Metadata 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.websiteRedirectLocation(String websiteRedirectLocation) Sets the value of the WebsiteRedirectLocation property for this object.writeOffsetBytes(Long writeOffsetBytes) Sets the value of the WriteOffsetBytes 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
-
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.
-
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.
-
body
Sets the value of the Body property for this object.- Parameters:
body- The new value for the Body property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
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.
-
contentLength
Sets the value of the ContentLength property for this object.- Parameters:
contentLength- The new value for the ContentLength property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentMD5
Sets the value of the ContentMD5 property for this object.- Parameters:
contentMD5- The new value for the ContentMD5 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.
-
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.
- See Also:
-
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.
- See Also:
-
checksumCRC32
Sets the value of the ChecksumCRC32 property for this object.- Parameters:
checksumCRC32- The new value for the ChecksumCRC32 property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC32C
Sets the value of the ChecksumCRC32C property for this object.- Parameters:
checksumCRC32C- The new value for the ChecksumCRC32C property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC64NVME
Sets the value of the ChecksumCRC64NVME property for this object.- Parameters:
checksumCRC64NVME- The new value for the ChecksumCRC64NVME property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA1
Sets the value of the ChecksumSHA1 property for this object.- Parameters:
checksumSHA1- The new value for the ChecksumSHA1 property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA256
Sets the value of the ChecksumSHA256 property for this object.- Parameters:
checksumSHA256- The new value for the ChecksumSHA256 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.
-
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.
-
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.
-
writeOffsetBytes
Sets the value of the WriteOffsetBytes property for this object.- Parameters:
writeOffsetBytes- The new value for the WriteOffsetBytes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Sets the value of the Metadata property for this object.- Parameters:
metadata- The new value for the Metadata 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.
-
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.
-
overrideConfiguration
PutObjectRequest.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
PutObjectRequest.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.
-