MetricName Class
- java.
lang. Object - com.
azure. resourcemanager. loganalytics. models. MetricName
- com.
public final class MetricName
The name of a metric.
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 system name of the metric. |
Metric |
withLocalizedValue(String localizedValue)
Set the localized |
Metric |
withValue(String value)
Set the value property: The system 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 localized name of the metric.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The system name of the metric.
Returns:
withLocalizedValue
public MetricName withLocalizedValue(String localizedValue)
Set the localizedValue property: The localized name of the metric.
Parameters:
Returns:
withValue
public MetricName withValue(String value)
Set the value property: The system name of the metric.
Parameters:
Returns:
Applies to
Azure SDK for Java