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 or event data store to which one or more tags will be added.
|
AddTagsRequest.Builder |
tagsList(Collection<Tag> tagsList)
Contains a list of tags, up to a limit of 50
|
AddTagsRequest.Builder |
tagsList(Consumer<Tag.Builder>... tagsList)
Contains a list of tags, up to a limit of 50
|
AddTagsRequest.Builder |
tagsList(Tag... tagsList)
Contains a list of tags, up to a limit of 50
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAddTagsRequest.Builder resourceId(String resourceId)
Specifies the ARN of the trail or event data store 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 or event data store 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 tags, up to a limit of 50
tagsList - Contains a list of tags, up to a limit of 50AddTagsRequest.Builder tagsList(Tag... tagsList)
Contains a list of tags, up to a limit of 50
tagsList - Contains a list of tags, up to a limit of 50AddTagsRequest.Builder tagsList(Consumer<Tag.Builder>... tagsList)
Contains a list of tags, up to a limit of 50
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tagsList(List.
tagsList - a consumer that will call methods on
Tag.Builder#tagsList(java.util.Collection) AddTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.