Class ResourcePatch


  • public final class ResourcePatch
    extends Object
    Object containing tags updates for patch operations.
    • Constructor Detail

      • ResourcePatch

        public ResourcePatch()
    • Method Detail

      • tags

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

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

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