Class PatchResourceRequestBody
java.lang.Object
com.azure.resourcemanager.workloads.models.PatchResourceRequestBody
Resource patch request body.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: The identity property.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.withIdentity
(PatchResourceRequestBodyIdentity identity) Set the identity property: The identity property.Set the tags property: Resource tags.
-
Constructor Details
-
PatchResourceRequestBody
public PatchResourceRequestBody()
-
-
Method Details
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
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.
-