Class MetricDimensionV1
java.lang.Object
com.azure.resourcemanager.databoxedge.models.MetricDimensionV1
Metric Dimension v1.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name of the metrics dimension.name()
Get the name property: Name of the metrics dimension.Get the toBeExportedForShoebox property: To be exported to shoe box.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Display name of the metrics dimension.Set the name property: Name of the metrics dimension.withToBeExportedForShoebox
(Boolean toBeExportedForShoebox) Set the toBeExportedForShoebox property: To be exported to shoe box.
-
Constructor Details
-
MetricDimensionV1
public MetricDimensionV1()Creates an instance of MetricDimensionV1 class.
-
-
Method Details
-
name
Get the name property: Name of the metrics dimension.- Returns:
- the name value.
-
withName
Set the name property: Name of the metrics dimension.- Parameters:
name
- the name value to set.- Returns:
- the MetricDimensionV1 object itself.
-
displayName
Get the displayName property: Display name of the metrics dimension.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the metrics dimension.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MetricDimensionV1 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 MetricDimensionV1 object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-