Class MetricDimension


  • public final class MetricDimension
    extends Object
    A metric dimension.
    • Constructor Detail

      • MetricDimension

        public MetricDimension()
    • Method Detail

      • name

        public String name()
        Get the name property: The metric dimension name.
        Returns:
        the name value.
      • displayName

        public String displayName()
        Get the displayName property: The display name for the dimension.
        Returns:
        the displayName value.
      • toBeExportedForShoebox

        public Boolean toBeExportedForShoebox()
        Get the toBeExportedForShoebox property: Whether to export metric to shoebox.
        Returns:
        the toBeExportedForShoebox value.
      • validate

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