Class OperationMetricDimension
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.OperationMetricDimension
-
public final class OperationMetricDimension extends Object
Defines the metric dimension.
-
-
Constructor Summary
Constructors Constructor Description OperationMetricDimension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: The display name of the metric dimension.String
name()
Get the name property: The name of the dimension for the metric.Boolean
toBeExportedForShoebox()
Get the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.void
validate()
Validates the instance.OperationMetricDimension
withDisplayName(String displayName)
Set the displayName property: The display name of the metric dimension.OperationMetricDimension
withName(String name)
Set the name property: The name of the dimension for the metric.OperationMetricDimension
withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
Set the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the dimension for the metric.- Returns:
- the name value.
-
withName
public OperationMetricDimension withName(String name)
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
public String displayName()
Get the displayName property: The display name of the metric dimension.- Returns:
- the displayName value.
-
withDisplayName
public OperationMetricDimension withDisplayName(String displayName)
Set the displayName property: The display name of the metric dimension.- Parameters:
displayName
- the displayName value to set.- Returns:
- the OperationMetricDimension object itself.
-
toBeExportedForShoebox
public Boolean toBeExportedForShoebox()
Get the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.- Returns:
- the toBeExportedForShoebox value.
-
withToBeExportedForShoebox
public OperationMetricDimension withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
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.
-
-