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 Summary
Constructors Constructor Description TagsPatchResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagsPatchOperationoperation()Get the operation property: The operation type for the patch API.Tagsproperties()Get the properties property: The set of tags.voidvalidate()Validates the instance.TagsPatchResourcewithOperation(TagsPatchOperation operation)Set the operation property: The operation type for the patch API.TagsPatchResourcewithProperties(Tags properties)Set the properties property: The set of tags.
-
-
-
Method Detail
-
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.
-
-