Class MetricDimension

java.lang.Object
com.azure.resourcemanager.appconfiguration.models.MetricDimension

public final class MetricDimension extends Object
Specifications of the Dimension of metrics.
  • Constructor Details

    • MetricDimension

      public MetricDimension()
  • Method Details

    • name

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

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

      public String displayName()
      Get the displayName property: Localized friendly display name of the dimension.
      Returns:
      the displayName value.
    • withDisplayName

      public MetricDimension withDisplayName(String displayName)
      Set the displayName property: Localized friendly display name of the dimension.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MetricDimension object itself.
    • internalName

      public String internalName()
      Get the internalName property: Internal name of the dimension.
      Returns:
      the internalName value.
    • withInternalName

      public MetricDimension withInternalName(String internalName)
      Set the internalName property: Internal name of the dimension.
      Parameters:
      internalName - the internalName value to set.
      Returns:
      the MetricDimension object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.