Class BaselineMetadata

java.lang.Object
com.azure.resourcemanager.monitor.models.BaselineMetadata

public final class BaselineMetadata extends Object
Represents a baseline metadata value.
  • Constructor Details

    • BaselineMetadata

      public BaselineMetadata()
      Creates an instance of BaselineMetadata class.
  • Method Details

    • name

      public String name()
      Get the name property: Name of the baseline metadata.
      Returns:
      the name value.
    • withName

      public BaselineMetadata withName(String name)
      Set the name property: Name of the baseline metadata.
      Parameters:
      name - the name value to set.
      Returns:
      the BaselineMetadata object itself.
    • value

      public String value()
      Get the value property: Value of the baseline metadata.
      Returns:
      the value value.
    • withValue

      public BaselineMetadata withValue(String value)
      Set the value property: Value of the baseline metadata.
      Parameters:
      value - the value value to set.
      Returns:
      the BaselineMetadata object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.