Class MetricName
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.MetricName
A metric name.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the localizedValue property: The friendly name of the metric.void
validate()
Validates the instance.value()
Get the value property: The name of the metric.withLocalizedValue
(String localizedValue) Set the localizedValue property: The friendly name of the metric.Set the value property: The name of the metric.
-
Constructor Details
-
MetricName
public MetricName()Creates an instance of MetricName class.
-
-
Method Details
-
value
Get the value property: The name of the metric.- Returns:
- the value value.
-
withValue
Set the value property: The name of the metric.- Parameters:
value
- the value value to set.- Returns:
- the MetricName object itself.
-
localizedValue
Get the localizedValue property: The friendly name of the metric.- Returns:
- the localizedValue value.
-
withLocalizedValue
Set the localizedValue property: The friendly 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.
-