public static interface AddTagsRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>
| Modifier and Type | Method and Description |
|---|---|
AddTagsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AddTagsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AddTagsRequest.Builder |
resourceId(String resourceId)
Specifies the ARN of the trail to which one or more tags will be added.
|
AddTagsRequest.Builder |
tagsList(Collection<Tag> tagsList)
Contains a list of CloudTrail tags, up to a limit of 50
|
AddTagsRequest.Builder |
tagsList(Consumer<Tag.Builder>... tagsList)
Contains a list of CloudTrail tags, up to a limit of 50
|
AddTagsRequest.Builder |
tagsList(Tag... tagsList)
Contains a list of CloudTrail tags, up to a limit of 50
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAddTagsRequest.Builder resourceId(String resourceId)
Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
resourceId - Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN
is:
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
AddTagsRequest.Builder tagsList(Collection<Tag> tagsList)
Contains a list of CloudTrail tags, up to a limit of 50
tagsList - Contains a list of CloudTrail tags, up to a limit of 50AddTagsRequest.Builder tagsList(Tag... tagsList)
Contains a list of CloudTrail tags, up to a limit of 50
tagsList - Contains a list of CloudTrail tags, up to a limit of 50AddTagsRequest.Builder tagsList(Consumer<Tag.Builder>... tagsList)
Contains a list of CloudTrail tags, up to a limit of 50
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) AddTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.