Class PatchResourceRequestBody

java.lang.Object
com.azure.resourcemanager.workloads.models.PatchResourceRequestBody

public final class PatchResourceRequestBody extends Object
Resource patch request body.
  • Constructor Details

    • PatchResourceRequestBody

      public PatchResourceRequestBody()
  • Method Details

    • tags

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

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

      Get the identity property: The identity property.
      Returns:
      the identity value.
    • withIdentity

      Set the identity property: The identity property.
      Parameters:
      identity - the identity value to set.
      Returns:
      the PatchResourceRequestBody object itself.
    • validate

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