MetricName Class

  • java.lang.Object
    • com.azure.resourcemanager.loganalytics.models.MetricName

public final class MetricName

The name of a metric.

Constructor Summary

Constructor Description
MetricName()

Method Summary

Modifier and Type Method and Description
String localizedValue()

Get the localizedValue property: The localized name of the metric.

void validate()

Validates the instance.

String value()

Get the value property: The system name of the metric.

MetricName withLocalizedValue(String localizedValue)

Set the localizedValue property: The localized name of the metric.

MetricName withValue(String value)

Set the value property: The system name of the metric.

Methods inherited from java.lang.Object

Constructor Details

MetricName

public MetricName()

Method Details

localizedValue

public String localizedValue()

Get the localizedValue property: The localized name of the metric.

Returns:

the localizedValue value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The system name of the metric.

Returns:

the value value.

withLocalizedValue

public MetricName withLocalizedValue(String localizedValue)

Set the localizedValue property: The localized name of the metric.

Parameters:

localizedValue - the localizedValue value to set.

Returns:

the MetricName object itself.

withValue

public MetricName withValue(String value)

Set the value property: The system name of the metric.

Parameters:

value - the value value to set.

Returns:

the MetricName object itself.

Applies to

Azure SDK for Java

Preview