Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TargetTag |
build() |
TargetTag.Builder |
copy(TargetTag o) |
TargetTag.Builder |
tagDefinitionName(String tagDefinitionName)
The name you use to refer to the tag, also known as the tag key.
|
TargetTag.Builder |
tagNamespaceName(String tagNamespaceName)
The name of the tag namespace.
|
TargetTag.Builder |
tagValues(List<String> tagValues)
The list of tag values.
|
TargetTag.Builder |
tagValueType(TagValueType tagValueType)
Specifies which tag value types in the
tagValues field result in overrides of the recommendation criteria. |
public TargetTag.Builder tagNamespaceName(String tagNamespaceName)
The name of the tag namespace.
tagNamespaceName
- the value to setpublic TargetTag.Builder tagDefinitionName(String tagDefinitionName)
The name you use to refer to the tag, also known as the tag key.
tagDefinitionName
- the value to setpublic TargetTag.Builder tagValueType(TagValueType tagValueType)
Specifies which tag value types in the tagValues
field result in overrides of the recommendation criteria.
When the value for this field is ANY
, the tagValues
field should be empty, which enforces overrides to the recommendation
for resources with any tag values attached to them.
When the value for this field value is VALUE
, the tagValues
field must include a specific value or list of values.
Overrides to the recommendation criteria only occur for resources that match the values in the tagValues
fields.
tagValueType
- the value to setpublic TargetTag.Builder tagValues(List<String> tagValues)
The list of tag values. The tag value is the value that the user applying the tag adds to the tag key.
tagValues
- the value to setpublic TargetTag build()
public TargetTag.Builder copy(TargetTag o)
Copyright © 2016–2022. All rights reserved.