Class BaselineMetadata
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.BaselineMetadata
-
public final class BaselineMetadata extends Object
Represents a baseline metadata value.
-
-
Constructor Summary
Constructors Constructor Description BaselineMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: Name of the baseline metadata.voidvalidate()Validates the instance.Stringvalue()Get the value property: Value of the baseline metadata.BaselineMetadatawithName(String name)Set the name property: Name of the baseline metadata.BaselineMetadatawithValue(String value)Set the value property: Value of the baseline metadata.
-
-
-
Method Detail
-
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.
-
-