Class BaselineMetadata
java.lang.Object
com.azure.resourcemanager.monitor.models.BaselineMetadata
Represents a baseline metadata value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: Name of the baseline metadata.voidvalidate()Validates the instance.value()Get the value property: Value of the baseline metadata.Set the name property: Name of the baseline metadata.Set the value property: Value of the baseline metadata.
-
Constructor Details
-
BaselineMetadata
public BaselineMetadata()Creates an instance of BaselineMetadata class.
-
-
Method Details
-
name
Get the name property: Name of the baseline metadata.- Returns:
- the name value.
-
withName
Set the name property: Name of the baseline metadata.- Parameters:
name- the name value to set.- Returns:
- the BaselineMetadata object itself.
-
value
Get the value property: Value of the baseline metadata.- Returns:
- the value value.
-
withValue
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.
-