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 DppIdentityDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.String
tenantId()
Get the tenantId property: A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.String
type()
Get the type property: The identityType which can be either SystemAssigned or None.void
validate()
Validates the instance.DppIdentityDetails
withType(String type)
Set the type property: The identityType which can be either SystemAssigned or None.
-
-
-
Method Detail
-
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.
-
-