@Mutable @NotThreadSafe public static interface DeleteBucketLifecycleRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<DeleteBucketLifecycleRequest.Builder,DeleteBucketLifecycleRequest>
| Modifier and Type | Method and Description |
|---|---|
DeleteBucketLifecycleRequest.Builder |
bucket(String bucket)
The bucket name of the lifecycle to delete.
|
DeleteBucketLifecycleRequest.Builder |
expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner.
|
DeleteBucketLifecycleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DeleteBucketLifecycleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldNameToField, sdkFieldscopyapplyMutation, buildDeleteBucketLifecycleRequest.Builder bucket(String bucket)
The bucket name of the lifecycle to delete.
bucket - The bucket name of the lifecycle to delete.DeleteBucketLifecycleRequest.Builder expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual
owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
expectedBucketOwner - The account ID of the expected bucket owner. If the account ID that you provide does not match the
actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied). This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
DeleteBucketLifecycleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.DeleteBucketLifecycleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2026. All rights reserved.