Interface PutObjectAnnotationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutObjectAnnotationRequest.Builder,,PutObjectAnnotationRequest> S3Request.Builder,SdkBuilder<PutObjectAnnotationRequest.Builder,,PutObjectAnnotationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutObjectAnnotationRequest
-
Method Summary
Modifier and TypeMethodDescriptionannotationName(String annotationName) The name of the annotation.The name of the bucket that contains the object.checksumAlgorithm(String checksumAlgorithm) The checksum algorithm to use.checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm) The checksum algorithm to use.checksumCRC32(String checksumCRC32) Base64-encoded CRC32 checksum of the annotation payload.checksumCRC32C(String checksumCRC32C) Base64-encoded CRC32C checksum of the annotation payload.checksumCRC64NVME(String checksumCRC64NVME) Base64-encoded CRC64NVME checksum of the annotation payload.checksumMD5(String checksumMD5) Base64-encoded MD5 checksum of the annotation payload.checksumSHA1(String checksumSHA1) Base64-encoded SHA1 checksum of the annotation payload.checksumSHA256(String checksumSHA256) Base64-encoded SHA256 checksum of the annotation payload.checksumSHA512(String checksumSHA512) Base64-encoded SHA512 checksum of the annotation payload.checksumXXHASH128(String checksumXXHASH128) Base64-encoded XXHASH128 checksum of the annotation payload.checksumXXHASH3(String checksumXXHASH3) Base64-encoded XXHASH3 checksum of the annotation payload.checksumXXHASH64(String checksumXXHASH64) Base64-encoded XXHASH64 checksum of the annotation payload.contentMD5(String contentMD5) Base64-encoded MD5 digest of the message.expectedBucketOwner(String expectedBucketOwner) The account ID of the expected bucket owner.The object key.objectIfMatch(String objectIfMatch) If specified, the operation only succeeds if the object's ETag matches the provided value.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.requestPayer(RequestPayer requestPayer) Sets the value of the RequestPayer property for this object.The version ID of the object to attach the annotation to.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.s3.model.S3Request.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
The name of the bucket that contains the object.
- Parameters:
bucket- The name of the bucket that contains the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The object key.
- Parameters:
key- The object key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
The version ID of the object to attach the annotation to.
- Parameters:
versionId- The version ID of the object to attach the annotation to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotationName
The name of the annotation.
Length Constraints: Minimum length of 1. Maximum length of 512 bytes.
- Parameters:
annotationName- The name of the annotation.Length Constraints: Minimum length of 1. Maximum length of 512 bytes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectIfMatch
If specified, the operation only succeeds if the object's ETag matches the provided value.
- Parameters:
objectIfMatch- If specified, the operation only succeeds if the object's ETag matches the provided value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumAlgorithm
The checksum algorithm to use. Supported values:
CRC32,CRC32C,CRC64NVME,SHA1,SHA256,SHA512,MD5,XXHASH64,XXHASH3,XXHASH128.- Parameters:
checksumAlgorithm- The checksum algorithm to use. Supported values:CRC32,CRC32C,CRC64NVME,SHA1,SHA256,SHA512,MD5,XXHASH64,XXHASH3,XXHASH128.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksumAlgorithm
The checksum algorithm to use. Supported values:
CRC32,CRC32C,CRC64NVME,SHA1,SHA256,SHA512,MD5,XXHASH64,XXHASH3,XXHASH128.- Parameters:
checksumAlgorithm- The checksum algorithm to use. Supported values:CRC32,CRC32C,CRC64NVME,SHA1,SHA256,SHA512,MD5,XXHASH64,XXHASH3,XXHASH128.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksumCRC32
Base64-encoded CRC32 checksum of the annotation payload.
- Parameters:
checksumCRC32- Base64-encoded CRC32 checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC32C
Base64-encoded CRC32C checksum of the annotation payload.
- Parameters:
checksumCRC32C- Base64-encoded CRC32C checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumCRC64NVME
Base64-encoded CRC64NVME checksum of the annotation payload.
- Parameters:
checksumCRC64NVME- Base64-encoded CRC64NVME checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA1
Base64-encoded SHA1 checksum of the annotation payload.
- Parameters:
checksumSHA1- Base64-encoded SHA1 checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA256
Base64-encoded SHA256 checksum of the annotation payload.
- Parameters:
checksumSHA256- Base64-encoded SHA256 checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumSHA512
Base64-encoded SHA512 checksum of the annotation payload.
- Parameters:
checksumSHA512- Base64-encoded SHA512 checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumMD5
Base64-encoded MD5 checksum of the annotation payload.
- Parameters:
checksumMD5- Base64-encoded MD5 checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumXXHASH64
Base64-encoded XXHASH64 checksum of the annotation payload.
- Parameters:
checksumXXHASH64- Base64-encoded XXHASH64 checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumXXHASH3
Base64-encoded XXHASH3 checksum of the annotation payload.
- Parameters:
checksumXXHASH3- Base64-encoded XXHASH3 checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksumXXHASH128
Base64-encoded XXHASH128 checksum of the annotation payload.
- Parameters:
checksumXXHASH128- Base64-encoded XXHASH128 checksum of the annotation payload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentMD5
Base64-encoded MD5 digest of the message.
- Parameters:
contentMD5- Base64-encoded MD5 digest of the message.- 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.
- See Also:
-
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.
- See Also:
-
expectedBucketOwner
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with an HTTP 403 (Access Denied) error.
- Parameters:
expectedBucketOwner- The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with an HTTP 403 (Access Denied) error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutObjectAnnotationRequest.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
PutObjectAnnotationRequest.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.
-