Class PatchResourceRequestInput
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.PatchResourceRequestInput
-
public final class PatchResourceRequestInput extends Object
PatchResourceRequestInput Patch Request content for Microsoft.DataProtection resources.
-
-
Constructor Summary
Constructors Constructor Description PatchResourceRequestInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DppIdentityDetails
identity()
Get the identity property: DppIdentityDetails Input Managed Identity Details.Map<String,String>
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.PatchResourceRequestInput
withIdentity(DppIdentityDetails identity)
Set the identity property: DppIdentityDetails Input Managed Identity Details.PatchResourceRequestInput
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
identity
public DppIdentityDetails identity()
Get the identity property: DppIdentityDetails Input Managed Identity Details.- Returns:
- the identity value.
-
withIdentity
public PatchResourceRequestInput withIdentity(DppIdentityDetails identity)
Set the identity property: DppIdentityDetails Input Managed Identity Details.- Parameters:
identity
- the identity value to set.- Returns:
- the PatchResourceRequestInput object itself.
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public PatchResourceRequestInput withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the PatchResourceRequestInput object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-