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 Details

    • PatchResourceRequestInput

      public PatchResourceRequestInput()
      Creates an instance of PatchResourceRequestInput class.
  • Method Details

    • 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.
    • properties

      public PatchBackupVaultInput properties()
      Get the properties property: Resource properties.
      Returns:
      the properties value.
    • withProperties

      public PatchResourceRequestInput withProperties(PatchBackupVaultInput properties)
      Set the properties property: Resource properties.
      Parameters:
      properties - the properties 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.