Class DppIdentityDetails

java.lang.Object
com.azure.resourcemanager.dataprotection.models.DppIdentityDetails

public final class DppIdentityDetails extends Object
DppIdentityDetails

Identity details.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of DppIdentityDetails class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the principalId property: The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
    Get the tenantId property: A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
    Get the type property: The identityType which can be either SystemAssigned or None.
    void
    Validates the instance.
    Set the type property: The identityType which can be either SystemAssigned or None.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DppIdentityDetails

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

    • principalId

      public String principalId()
      Get the principalId property: The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
      Returns:
      the principalId value.
    • tenantId

      public String tenantId()
      Get the tenantId property: A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
      Returns:
      the tenantId value.
    • type

      public String type()
      Get the type property: The identityType which can be either SystemAssigned or None.
      Returns:
      the type value.
    • withType

      public DppIdentityDetails withType(String type)
      Set the type property: The identityType which can be either SystemAssigned or None.
      Parameters:
      type - the type value to set.
      Returns:
      the DppIdentityDetails object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.