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 StringdisplayName()Get the displayName property: The display name of the metric dimension.Stringname()Get the name property: The name of the dimension for the metric.BooleantoBeExportedForShoebox()Get the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.voidvalidate()Validates the instance.OperationMetricDimensionwithDisplayName(String displayName)Set the displayName property: The display name of the metric dimension.OperationMetricDimensionwithName(String name)Set the name property: The name of the dimension for the metric.OperationMetricDimensionwithToBeExportedForShoebox(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.
-
-