Class MetricSpecificationDimensionsItem
java.lang.Object
com.azure.resourcemanager.powerbidedicated.models.MetricSpecificationDimensionsItem
The MetricSpecificationDimensionsItem model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MetricSpecificationDimensionsItem class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Localizable dimension of the metric.name()
Get the name property: Dimension of the metric.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Localizable dimension of the metric.
-
Constructor Details
-
MetricSpecificationDimensionsItem
public MetricSpecificationDimensionsItem()Creates an instance of MetricSpecificationDimensionsItem class.
-
-
Method Details
-
name
Get the name property: Dimension of the metric.- Returns:
- the name value.
-
displayName
Get the displayName property: Localizable dimension of the metric.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localizable dimension of the metric.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MetricSpecificationDimensionsItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-