DppIdentityDetails Class

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

Implements

public final class DppIdentityDetails
implements JsonSerializable<DppIdentityDetails>

Identity details.

Constructor Summary

Constructor Description
DppIdentityDetails()

Creates an instance of DppIdentityDetails class.

Method Summary

Modifier and Type Method and Description
static DppIdentityDetails fromJson(JsonReader jsonReader)

Reads an instance of DppIdentityDetails from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None.

Map<String,UserAssignedIdentity> userAssignedIdentities()

Get the userAssignedIdentities property: Gets or sets the user assigned identities.

DppIdentityDetails withType(String type)

Set the type property: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None.

DppIdentityDetails withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)

Set the userAssignedIdentities property: Gets or sets the user assigned identities.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of DppIdentityDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DppIdentityDetails.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None.

Returns:

the type value.

userAssignedIdentities

public Map<String,UserAssignedIdentity> userAssignedIdentities()

Get the userAssignedIdentities property: Gets or sets the user assigned identities.

Returns:

the userAssignedIdentities value.

withType

public DppIdentityDetails withType(String type)

Set the type property: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None.

Parameters:

type - the type value to set.

Returns:

the DppIdentityDetails object itself.

withUserAssignedIdentities

public DppIdentityDetails withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)

Set the userAssignedIdentities property: Gets or sets the user assigned identities.

Parameters:

userAssignedIdentities - the userAssignedIdentities value to set.

Returns:

the DppIdentityDetails object itself.

Applies to