Interface PutBucketTaggingRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutBucketTaggingRequest.Builder,PutBucketTaggingRequest>,S3ControlRequest.Builder,SdkBuilder<PutBucketTaggingRequest.Builder,PutBucketTaggingRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutBucketTaggingRequest
public static interface PutBucketTaggingRequest.Builder extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<PutBucketTaggingRequest.Builder,PutBucketTaggingRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutBucketTaggingRequest.BuilderaccountId(String accountId)The Amazon Web Services account ID of the Outposts bucket.PutBucketTaggingRequest.Builderbucket(String bucket)The Amazon Resource Name (ARN) of the bucket.PutBucketTaggingRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutBucketTaggingRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default PutBucketTaggingRequest.Buildertagging(Consumer<Tagging.Builder> tagging)This is a convenience method that creates an instance of theTagging.Builderavoiding the need to create one manually viaTagging.builder().PutBucketTaggingRequest.Buildertagging(Tagging tagging)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accountId
PutBucketTaggingRequest.Builder accountId(String accountId)
The Amazon Web Services account ID of the Outposts bucket.
- Parameters:
accountId- The Amazon Web Services account ID of the Outposts bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 Amazon Web Services 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 bucketreportsthrough Outpostmy-outpostowned by account123456789012in Regionus-west-2, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.- Parameters:
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 Amazon Web Services 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 bucketreportsthrough Outpostmy-outpostowned by account123456789012in Regionus-west-2, use the URL encoding ofarn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL encoded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagging
PutBucketTaggingRequest.Builder tagging(Tagging tagging)
- Parameters:
tagging-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagging
default PutBucketTaggingRequest.Builder tagging(Consumer<Tagging.Builder> tagging)
This is a convenience method that creates an instance of theTagging.Builderavoiding the need to create one manually viaTagging.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagging(Tagging).- Parameters:
tagging- a consumer that will call methods onTagging.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tagging(Tagging)
-
overrideConfiguration
PutBucketTaggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutBucketTaggingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-