public static interface DeleteBucketRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<DeleteBucketRequest.Builder,DeleteBucketRequest>
| Modifier and Type | Method and Description |
|---|---|
DeleteBucketRequest.Builder |
bucketName(String bucketName)
The name of the bucket to delete.
|
DeleteBucketRequest.Builder |
forceDelete(Boolean forceDelete)
A Boolean value that indicates whether to force delete the bucket.
|
DeleteBucketRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DeleteBucketRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDeleteBucketRequest.Builder bucketName(String bucketName)
The name of the bucket to delete.
Use the GetBuckets action to get a list of bucket names that you can specify.
bucketName - The name of the bucket to delete.
Use the GetBuckets action to get a list of bucket names that you can specify.
DeleteBucketRequest.Builder forceDelete(Boolean forceDelete)
A Boolean value that indicates whether to force delete the bucket.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
forceDelete - A Boolean value that indicates whether to force delete the bucket.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
DeleteBucketRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDeleteBucketRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.