public static interface RemoveTagsRequest.Builder extends CloudTrailRequest.Builder, CopyableBuilder<RemoveTagsRequest.Builder,RemoveTagsRequest>
Modifier and Type | Method and Description |
---|---|
RemoveTagsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
RemoveTagsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
RemoveTagsRequest.Builder |
resourceId(String resourceId)
Specifies the ARN of the trail from which tags should be removed.
|
RemoveTagsRequest.Builder |
tagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.
|
RemoveTagsRequest.Builder |
tagsList(Consumer<Tag.Builder>... tagsList)
Specifies a list of tags to be removed.
|
RemoveTagsRequest.Builder |
tagsList(Tag... tagsList)
Specifies a list of tags to be removed.
|
build
overrideConfiguration
copy
applyMutation, build
RemoveTagsRequest.Builder resourceId(String resourceId)
Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
resourceId
- Specifies the ARN of the trail from which tags should be removed. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
RemoveTagsRequest.Builder tagsList(Collection<Tag> tagsList)
Specifies a list of tags to be removed.
tagsList
- Specifies a list of tags to be removed.RemoveTagsRequest.Builder tagsList(Tag... tagsList)
Specifies a list of tags to be removed.
tagsList
- Specifies a list of tags to be removed.RemoveTagsRequest.Builder tagsList(Consumer<Tag.Builder>... tagsList)
Specifies a list of tags to be removed.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tagsList(List)
.tagsList
- a consumer that will call methods on List.Builder
#tagsList(List)
RemoveTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.RemoveTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.