Class MetadataValueInner


  • public final class MetadataValueInner
    extends Object
    Represents a metric metadata value.
    • Constructor Detail

      • MetadataValueInner

        public MetadataValueInner()
    • Method Detail

      • name

        public LocalizableStringInner name()
        Get the name property: the name of the metadata.
        Returns:
        the name value.
      • withName

        public MetadataValueInner withName​(LocalizableStringInner name)
        Set the name property: the name of the metadata.
        Parameters:
        name - the name value to set.
        Returns:
        the MetadataValueInner object itself.
      • value

        public String value()
        Get the value property: the value of the metadata.
        Returns:
        the value value.
      • withValue

        public MetadataValueInner withValue​(String value)
        Set the value property: the value of the metadata.
        Parameters:
        value - the value value to set.
        Returns:
        the MetadataValueInner object itself.
      • validate

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