Class TagsPatchResource
java.lang.Object
com.azure.resourcemanager.resources.models.TagsPatchResource
Wrapper resource for tags patch API request only.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the operation property: The operation type for the patch API.Get the properties property: The set of tags.voidvalidate()Validates the instance.withOperation(TagsPatchOperation operation) Set the operation property: The operation type for the patch API.withProperties(Tags properties) Set the properties property: The set of tags.
-
Constructor Details
-
TagsPatchResource
public TagsPatchResource()Creates an instance of TagsPatchResource class.
-
-
Method Details
-
operation
Get the operation property: The operation type for the patch API.- Returns:
- the operation value.
-
withOperation
Set the operation property: The operation type for the patch API.- Parameters:
operation- the operation value to set.- Returns:
- the TagsPatchResource object itself.
-
properties
Get the properties property: The set of tags.- Returns:
- the properties value.
-
withProperties
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.
-