Class MetricName
java.lang.Object
com.azure.resourcemanager.loganalytics.models.MetricName
The name of a metric.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the localizedValue property: The localized name of the metric.voidvalidate()Validates the instance.value()Get the value property: The system name of the metric.withLocalizedValue(String localizedValue) Set the localizedValue property: The localized name of the metric.Set the value property: The system name of the metric.
-
Constructor Details
-
MetricName
public MetricName()
-
-
Method Details
-
value
Get the value property: The system name of the metric.- Returns:
- the value value.
-
withValue
Set the value property: The system name of the metric.- Parameters:
value- the value value to set.- Returns:
- the MetricName object itself.
-
localizedValue
Get the localizedValue property: The localized name of the metric.- Returns:
- the localizedValue value.
-
withLocalizedValue
Set the localizedValue property: The localized name of the metric.- Parameters:
localizedValue- the localizedValue value to set.- Returns:
- the MetricName object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-