Struct aws_sdk_elasticsearch::model::tag::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Tag
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
Specifies the TagKey
, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
Specifies the TagKey
, the name of the tag. Tag keys must be unique for the Elasticsearch domain to which they are attached.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
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
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
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