Class MetadataValueInner
java.lang.Object
com.azure.resourcemanager.monitor.fluent.models.MetadataValueInner
Represents a metric metadata value.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MetadataValueInner
public MetadataValueInner()Creates an instance of MetadataValueInner class.
-
-
Method Details
-
name
Get the name property: the name of the metadata.- Returns:
- the name value.
-
withName
Set the name property: the name of the metadata.- Parameters:
name- the name value to set.- Returns:
- the MetadataValueInner object itself.
-
value
Get the value property: the value of the metadata.- Returns:
- the value value.
-
withValue
Set the value property: the value of the metadata.- Parameters:
value- the value value to set.- Returns:
- the MetadataValueInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-