MetricName Class
- java.
lang. Object - com.
azure. resourcemanager. cognitiveservices. models. MetricName
- com.
public final class MetricName
A metric name.
Constructor Summary
Constructor | Description |
---|---|
MetricName() |
Creates an instance of Metric |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
localizedValue()
Get the localized |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: The name of the metric. |
Metric |
withLocalizedValue(String localizedValue)
Set the localized |
Metric |
withValue(String value)
Set the value property: The name of the metric. |
Methods inherited from java.lang.Object
Constructor Details
MetricName
public MetricName()
Creates an instance of MetricName class.
Method Details
localizedValue
public String localizedValue()
Get the localizedValue property: The friendly name of the metric.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The name of the metric.
Returns:
withLocalizedValue
public MetricName withLocalizedValue(String localizedValue)
Set the localizedValue property: The friendly name of the metric.
Parameters:
Returns:
withValue
public MetricName withValue(String value)
Set the value property: The name of the metric.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for