Interface DeleteObjectAnnotationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteObjectAnnotationRequest.Builder,,DeleteObjectAnnotationRequest> S3Request.Builder,SdkBuilder<DeleteObjectAnnotationRequest.Builder,,DeleteObjectAnnotationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteObjectAnnotationRequest
@Mutable
@NotThreadSafe
public static interface DeleteObjectAnnotationRequest.Builder
extends S3Request.Builder, SdkPojo, CopyableBuilder<DeleteObjectAnnotationRequest.Builder,DeleteObjectAnnotationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionannotationName(String annotationName) The name of the annotation to delete.The name of the bucket that contains the object.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.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.
-
annotationName
The name of the annotation to delete. Annotation names are UTF-8 encoded and cannot start with
awsors3(case-insensitive).Length Constraints: Minimum length of 1. Maximum length of 512 bytes.
- Parameters:
annotationName- The name of the annotation to delete. Annotation names are UTF-8 encoded and cannot start withawsors3(case-insensitive).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.
-
versionId
The version ID of the object.
- Parameters:
versionId- The version ID of the 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.
- 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.
- Parameters:
expectedBucketOwner- The account ID of the expected bucket owner.- 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.
-
overrideConfiguration
DeleteObjectAnnotationRequest.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
DeleteObjectAnnotationRequest.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.
-