Class TagCount


  • public final class TagCount
    extends Object
    Tag count.
    • Constructor Detail

      • TagCount

        public TagCount()
    • Method Detail

      • type

        public String type()
        Get the type property: Type of count.
        Returns:
        the type value.
      • withType

        public TagCount withType​(String type)
        Set the type property: Type of count.
        Parameters:
        type - the type value to set.
        Returns:
        the TagCount object itself.
      • value

        public Integer value()
        Get the value property: Value of count.
        Returns:
        the value value.
      • withValue

        public TagCount withValue​(Integer value)
        Set the value property: Value of count.
        Parameters:
        value - the value value to set.
        Returns:
        the TagCount object itself.
      • validate

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