public static interface PutBucketTaggingRequest.Builder extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<PutBucketTaggingRequest.Builder,PutBucketTaggingRequest>
| Modifier and Type | Method and Description |
|---|---|
PutBucketTaggingRequest.Builder |
accountId(String accountId)
The AWS account ID of the Outposts bucket.
|
PutBucketTaggingRequest.Builder |
bucket(String bucket)
The Amazon Resource Name (ARN) of the bucket.
|
PutBucketTaggingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutBucketTaggingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default PutBucketTaggingRequest.Builder |
tagging(Consumer<Tagging.Builder> tagging)
This is a convenience that creates an instance of the
Tagging.Builder avoiding the need to create one
manually via Tagging.builder(). |
PutBucketTaggingRequest.Builder |
tagging(Tagging tagging)
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutBucketTaggingRequest.Builder accountId(String accountId)
The AWS account ID of the Outposts bucket.
accountId - The AWS account ID of the Outposts bucket.PutBucketTaggingRequest.Builder bucket(String bucket)
The Amazon Resource Name (ARN) of the bucket.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the AWS SDK and CLI, you must specify the ARN of the bucket
accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports through outpost my-outpost owned by
account 123456789012 in Region us-west-2, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be
URL encoded.
bucket - The Amazon Resource Name (ARN) of the bucket.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the AWS SDK and CLI, you must specify the ARN of the
bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports through outpost my-outpost owned
by account 123456789012 in Region us-west-2, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value
must be URL encoded.
PutBucketTaggingRequest.Builder tagging(Tagging tagging)
tagging - default PutBucketTaggingRequest.Builder tagging(Consumer<Tagging.Builder> tagging)
Tagging.Builder avoiding the need to create one
manually via Tagging.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to tagging(Tagging).tagging - a consumer that will call methods on Tagging.Buildertagging(Tagging)PutBucketTaggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutBucketTaggingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.