DppIdentityDetails Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. DppIdentityDetails
- com.
Implements
public final class DppIdentityDetails
implements JsonSerializable<DppIdentityDetails>
Identity details.
Constructor Summary
| Constructor | Description |
|---|---|
| DppIdentityDetails() |
Creates an instance of Dpp |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dpp |
fromJson(JsonReader jsonReader)
Reads an instance of Dpp |
| String |
principalId()
Get the principal |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The identity |
|
Map<String,User |
userAssignedIdentities()
Get the user |
|
Dpp |
withType(String type)
Set the type property: The identity |
|
Dpp |
withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
DppIdentityDetails
public DppIdentityDetails()
Creates an instance of DppIdentityDetails class.
Method Details
fromJson
public static DppIdentityDetails fromJson(JsonReader jsonReader)
Reads an instance of DppIdentityDetails from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
toJson
type
public String type()
Get the type property: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None.
Returns:
userAssignedIdentities
public Map<String,UserAssignedIdentity> userAssignedIdentities()
Get the userAssignedIdentities property: Gets or sets the user assigned identities.
Returns:
withType
public DppIdentityDetails withType(String type)
Set the type property: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None.
Parameters:
Returns:
withUserAssignedIdentities
public DppIdentityDetails withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: Gets or sets the user assigned identities.
Parameters:
Returns: