java.lang.Object
com.azure.resourcemanager.loganalytics.models.Tag

public final class Tag extends Object
A tag of a saved search.
  • Constructor Details

    • Tag

      public Tag()
  • Method Details

    • name

      public String name()
      Get the name property: The tag name.
      Returns:
      the name value.
    • withName

      public Tag withName(String name)
      Set the name property: The tag name.
      Parameters:
      name - the name value to set.
      Returns:
      the Tag object itself.
    • value

      public String value()
      Get the value property: The tag value.
      Returns:
      the value value.
    • withValue

      public Tag withValue(String value)
      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.