AccessReviewActorIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.AccessReviewActorIdentity

Implements

public final class AccessReviewActorIdentity
implements JsonSerializable<AccessReviewActorIdentity>

Details of the actor identity.

Method Summary

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

Reads an instance of AccessReviewActorIdentity from the JsonReader.

String principalId()

Get the principalId property: The identity id.

String principalName()

Get the principalName property: The identity display name.

AccessReviewActorIdentityType principalType()

Get the principalType property: The identity type : user/servicePrincipal.

JsonWriter toJson(JsonWriter jsonWriter)
String userPrincipalName()

Get the userPrincipalName property: The user principal name(if valid).

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static AccessReviewActorIdentity fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewActorIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccessReviewActorIdentity 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 AccessReviewActorIdentity.

principalId

public String principalId()

Get the principalId property: The identity id.

Returns:

the principalId value.

principalName

public String principalName()

Get the principalName property: The identity display name.

Returns:

the principalName value.

principalType

public AccessReviewActorIdentityType principalType()

Get the principalType property: The identity type : user/servicePrincipal.

Returns:

the principalType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

userPrincipalName

public String userPrincipalName()

Get the userPrincipalName property: The user principal name(if valid).

Returns:

the userPrincipalName value.

validate

public void validate()

Validates the instance.

Applies to