public static interface Tag.Builder extends CopyableBuilder<Tag.Builder,Tag>
Modifier and Type | Method and Description |
---|---|
Tag.Builder |
key(String key)
Specifies the
TagKey , the name of the tag. |
Tag.Builder |
value(String value)
Specifies the
TagValue , the value assigned to the corresponding tag key. |
copy
applyMutation, build
Tag.Builder key(String key)
Specifies the TagKey
, the name of the tag. Tag keys must be unique for the Elasticsearch domain
to which they are attached.
key
- Specifies the TagKey
, the name of the tag. Tag keys must be unique for the Elasticsearch
domain to which they are attached.Tag.Builder value(String value)
Specifies the TagValue
, the value assigned to the corresponding tag key. Tag values can be null
and do not have to be unique in a tag set. For example, you can have a key value pair in a tag set of
project : Trinity
and cost-center : Trinity
value
- Specifies the TagValue
, the value assigned to the corresponding tag key. Tag values can
be null and do not have to be unique in a tag set. For example, you can have a key value pair in a tag
set of project : Trinity
and cost-center : Trinity
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.