Class MetricDimension
java.lang.Object
com.azure.resourcemanager.appplatform.models.MetricDimension
Specifications of the Dimension of metrics.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Localized friendly display name of the dimension.name()Get the name property: Name of the dimension.Get the toBeExportedForShoebox property: Whether this dimension should be included for the Shoebox export scenario.voidvalidate()Validates the instance.withDisplayName(String displayName) Set the displayName property: Localized friendly display name of the dimension.Set the name property: Name of the dimension.withToBeExportedForShoebox(Boolean toBeExportedForShoebox) Set the toBeExportedForShoebox property: Whether this dimension should be included for the Shoebox export scenario.
-
Constructor Details
-
MetricDimension
public MetricDimension()Creates an instance of MetricDimension class.
-
-
Method Details
-
name
Get the name property: Name of the dimension.- Returns:
- the name value.
-
withName
Set the name property: Name of the dimension.- Parameters:
name- the name value to set.- Returns:
- the MetricDimension object itself.
-
displayName
Get the displayName property: Localized friendly display name of the dimension.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localized friendly display name of the dimension.- Parameters:
displayName- the displayName value to set.- Returns:
- the MetricDimension object itself.
-
toBeExportedForShoebox
Get the toBeExportedForShoebox property: Whether this dimension should be included for the Shoebox export scenario.- Returns:
- the toBeExportedForShoebox value.
-
withToBeExportedForShoebox
Set the toBeExportedForShoebox property: Whether this dimension should be included for the Shoebox export scenario.- Parameters:
toBeExportedForShoebox- the toBeExportedForShoebox value to set.- Returns:
- the MetricDimension object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-