Class OperationMetricDimension

java.lang.Object
com.azure.resourcemanager.datafactory.models.OperationMetricDimension

public final class OperationMetricDimension extends Object
Defines the metric dimension.
  • Constructor Details

    • OperationMetricDimension

      public OperationMetricDimension()
      Creates an instance of OperationMetricDimension class.
  • Method Details

    • 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.