Class TagsPatchResource

java.lang.Object
com.azure.resourcemanager.resources.models.TagsPatchResource

public final class TagsPatchResource extends Object
Wrapper resource for tags patch API request only.
  • Constructor Details

    • TagsPatchResource

      public TagsPatchResource()
  • Method Details

    • operation

      public TagsPatchOperation operation()
      Get the operation property: The operation type for the patch API.
      Returns:
      the operation value.
    • withOperation

      public TagsPatchResource withOperation(TagsPatchOperation operation)
      Set the operation property: The operation type for the patch API.
      Parameters:
      operation - the operation value to set.
      Returns:
      the TagsPatchResource object itself.
    • properties

      public Tags properties()
      Get the properties property: The set of tags.
      Returns:
      the properties value.
    • withProperties

      public TagsPatchResource withProperties(Tags properties)
      Set the properties property: The set of tags.
      Parameters:
      properties - the properties value to set.
      Returns:
      the TagsPatchResource object itself.
    • validate

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