public static interface AddTagsToResourceRequest.Builder extends DirectoryRequest.Builder, CopyableBuilder<AddTagsToResourceRequest.Builder,AddTagsToResourceRequest>
Modifier and Type | Method and Description |
---|---|
AddTagsToResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AddTagsToResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AddTagsToResourceRequest.Builder |
resourceId(String resourceId)
Identifier (ID) for the directory to which to add the tag.
|
AddTagsToResourceRequest.Builder |
tags(Collection<Tag> tags)
The tags to be assigned to the directory.
|
AddTagsToResourceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to be assigned to the directory.
|
AddTagsToResourceRequest.Builder |
tags(Tag... tags)
The tags to be assigned to the directory.
|
build
overrideConfiguration
copy
applyMutation, build
AddTagsToResourceRequest.Builder resourceId(String resourceId)
Identifier (ID) for the directory to which to add the tag.
resourceId
- Identifier (ID) for the directory to which to add the tag.AddTagsToResourceRequest.Builder tags(Collection<Tag> tags)
The tags to be assigned to the directory.
tags
- The tags to be assigned to the directory.AddTagsToResourceRequest.Builder tags(Tag... tags)
The tags to be assigned to the directory.
tags
- The tags to be assigned to the directory.AddTagsToResourceRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to be assigned to the directory.
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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
AddTagsToResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AddTagsToResourceRequest.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.