java.lang.Object
com.azure.resourcemanager.deviceupdate.models.TagUpdate
Direct Known Subclasses:
AccountUpdate

public class TagUpdate extends Object
Request payload used to update an existing resource's tags.
  • Constructor Details

    • TagUpdate

      public TagUpdate()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: List of key value pairs that describe the resource. This will overwrite the existing tags.
      Returns:
      the tags value.
    • withTags

      public TagUpdate withTags(Map<String,String> tags)
      Set the tags property: List of key value pairs that describe the resource. This will overwrite the existing tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the TagUpdate object itself.
    • validate

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