Class TagsResource


  • public final class TagsResource
    extends Object
    A container holding only the Tags for a resource, allowing the user to update the tags on a WebTest instance.
    • Constructor Detail

      • TagsResource

        public TagsResource()
    • Method Detail

      • tags

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

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

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