Class Dimension


  • public final class Dimension
    extends Object
    Dimension of the metric.
    • Constructor Detail

      • Dimension

        public Dimension()
    • Method Detail

      • name

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

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

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

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

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

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

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