Class MetricDimension
java.lang.Object
com.azure.resourcemanager.storagecache.models.MetricDimension
Specifications of the Dimension of metrics.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Localized friendly display name of the dimension.Get the internalName property: Internal name of the dimension.name()
Get the name property: Name of the dimension.Get the toBeExportedForShoebox property: To be exported to shoe box.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Localized friendly display name of the dimension.withInternalName
(String internalName) Set the internalName property: Internal name of the dimension.Set the name property: Name of the dimension.withToBeExportedForShoebox
(Boolean toBeExportedForShoebox) Set the toBeExportedForShoebox property: To be exported to shoe box.
-
Constructor Details
-
MetricDimension
public MetricDimension()
-
-
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.
-
internalName
Get the internalName property: Internal name of the dimension.- Returns:
- the internalName value.
-
withInternalName
Set the internalName property: Internal name of the dimension.- Parameters:
internalName
- the internalName value to set.- Returns:
- the MetricDimension object itself.
-
toBeExportedForShoebox
Get the toBeExportedForShoebox property: To be exported to shoe box.- Returns:
- the toBeExportedForShoebox value.
-
withToBeExportedForShoebox
Set the toBeExportedForShoebox property: To be exported to shoe box.- 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.
-