Class Tag
java.lang.Object
com.azure.resourcemanager.loganalytics.models.Tag
A tag of a saved search.
-
Constructor Details
-
Tag
public Tag()
-
-
Method Details
-
name
Get the name property: The tag name.- Returns:
- the name value.
-
withName
Set the name property: The tag name.- Parameters:
name
- the name value to set.- Returns:
- the Tag object itself.
-
value
Get the value property: The tag value.- Returns:
- the value value.
-
withValue
Set the value property: The tag value.- Parameters:
value
- the value value to set.- Returns:
- the Tag object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-