public final class FilteringTag extends Object
Constructor and Description |
---|
FilteringTag() |
Modifier and Type | Method and Description |
---|---|
TagAction |
action()
Get the action property: Valid actions for a filtering tag.
|
String |
name()
Get the name property: The name (also known as the key) of the tag.
|
void |
validate()
Validates the instance.
|
String |
value()
Get the value property: The value of the tag.
|
FilteringTag |
withAction(TagAction action)
Set the action property: Valid actions for a filtering tag.
|
FilteringTag |
withName(String name)
Set the name property: The name (also known as the key) of the tag.
|
FilteringTag |
withValue(String value)
Set the value property: The value of the tag.
|
public String name()
public FilteringTag withName(String name)
name
- the name value to set.public String value()
public FilteringTag withValue(String value)
value
- the value value to set.public TagAction action()
public FilteringTag withAction(TagAction action)
action
- the action value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.