Class MetricDimensionV1

java.lang.Object
com.azure.resourcemanager.databoxedge.models.MetricDimensionV1

public final class MetricDimensionV1 extends Object
Metric Dimension v1.
  • Constructor Details

    • MetricDimensionV1

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

    • name

      public String name()
      Get the name property: Name of the metrics dimension.
      Returns:
      the name value.
    • withName

      public MetricDimensionV1 withName(String name)
      Set the name property: Name of the metrics dimension.
      Parameters:
      name - the name value to set.
      Returns:
      the MetricDimensionV1 object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display name of the metrics dimension.
      Returns:
      the displayName value.
    • withDisplayName

      public MetricDimensionV1 withDisplayName(String displayName)
      Set the displayName property: Display name of the metrics dimension.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MetricDimensionV1 object itself.
    • toBeExportedForShoebox

      public Boolean toBeExportedForShoebox()
      Get the toBeExportedForShoebox property: To be exported to shoe box.
      Returns:
      the toBeExportedForShoebox value.
    • withToBeExportedForShoebox

      public MetricDimensionV1 withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
      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.