Interface AddTagsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AddTagsRequest.Builder,
,AddTagsRequest> ElasticsearchRequest.Builder
,SdkBuilder<AddTagsRequest.Builder,
,AddTagsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddTagsRequest
public static interface AddTagsRequest.Builder
extends ElasticsearchRequest.Builder, SdkPojo, CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSpecify theARN
for which you want to add the tags.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tagList
(Collection<Tag> tagList) List ofTag
that need to be added for the Elasticsearch domain.tagList
(Consumer<Tag.Builder>... tagList) List ofTag
that need to be added for the Elasticsearch domain.List ofTag
that need to be added for the Elasticsearch domain.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.elasticsearch.model.ElasticsearchRequest.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 Details
-
arn
Specify the
ARN
for which you want to add the tags.- Parameters:
arn
- Specify theARN
for which you want to add the tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
List of
Tag
that need to be added for the Elasticsearch domain.- Parameters:
tagList
- List ofTag
that need to be added for the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
List of
Tag
that need to be added for the Elasticsearch domain.- Parameters:
tagList
- List ofTag
that need to be added for the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
List of
This is a convenience method that creates an instance of theTag
that need to be added for the Elasticsearch domain.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagList(List<Tag>)
.- Parameters:
tagList
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-