Class OperationMetricDimension
java.lang.Object
com.azure.resourcemanager.datafactory.models.OperationMetricDimension
Defines the metric dimension.
-
Constructor Summary
ConstructorDescriptionCreates an instance of OperationMetricDimension class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: The display name of the metric dimension.name()
Get the name property: The name of the dimension for the metric.Get the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: The display name of the metric dimension.Set the name property: The name of the dimension for the metric.withToBeExportedForShoebox
(Boolean toBeExportedForShoebox) Set the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.
-
Constructor Details
-
OperationMetricDimension
public OperationMetricDimension()Creates an instance of OperationMetricDimension class.
-
-
Method Details
-
name
Get the name property: The name of the dimension for the metric.- Returns:
- the name value.
-
withName
Set the name property: The name of the dimension for the metric.- Parameters:
name
- the name value to set.- Returns:
- the OperationMetricDimension object itself.
-
displayName
Get the displayName property: The display name of the metric dimension.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the metric dimension.- Parameters:
displayName
- the displayName value to set.- Returns:
- the OperationMetricDimension object itself.
-
toBeExportedForShoebox
Get the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.- Returns:
- the toBeExportedForShoebox value.
-
withToBeExportedForShoebox
Set the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.- Parameters:
toBeExportedForShoebox
- the toBeExportedForShoebox value to set.- Returns:
- the OperationMetricDimension object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-