Class MetricDimension
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.MetricDimension
-
public final class MetricDimension extends Object
Specifications of the Dimension of metrics.
-
-
Constructor Summary
Constructors Constructor Description MetricDimension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdisplayName()Get the displayName property: Localized friendly display name of the dimension.Stringname()Get the name property: Name of the dimension.voidvalidate()Validates the instance.MetricDimensionwithDisplayName(String displayName)Set the displayName property: Localized friendly display name of the dimension.MetricDimensionwithName(String name)Set the name property: Name of the dimension.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the dimension.- Returns:
- the name value.
-
withName
public MetricDimension withName(String name)
Set the name property: Name of the dimension.- Parameters:
name- the name value to set.- Returns:
- the MetricDimension object itself.
-
displayName
public String displayName()
Get the displayName property: Localized friendly display name of the dimension.- Returns:
- the displayName value.
-
withDisplayName
public MetricDimension withDisplayName(String displayName)
Set the displayName property: Localized friendly display name of the dimension.- Parameters:
displayName- the displayName value to set.- Returns:
- the MetricDimension object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-