Class Tags


  • public final class Tags
    extends Object
    A dictionary of name and value pairs.
    • Constructor Detail

      • Tags

        public Tags()
    • Method Detail

      • tags

        public Map<String,​String> tags()
        Get the tags property: Dictionary of <string>.
        Returns:
        the tags value.
      • withTags

        public Tags withTags​(Map<String,​String> tags)
        Set the tags property: Dictionary of <string>.
        Parameters:
        tags - the tags value to set.
        Returns:
        the Tags object itself.
      • validate

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