AccessReviewActorIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewActorIdentity
- com.
Implements
public final class AccessReviewActorIdentity
implements JsonSerializable<AccessReviewActorIdentity>
Details of the actor identity.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
| String |
principalId()
Get the principal |
| String |
principalName()
Get the principal |
|
Access |
principalType()
Get the principal |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
userPrincipalName()
Get the user |
| 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:
Returns:
Throws:
principalId
public String principalId()
Get the principalId property: The identity id.
Returns:
principalName
public String principalName()
Get the principalName property: The identity display name.
Returns:
principalType
public AccessReviewActorIdentityType principalType()
Get the principalType property: The identity type : user/servicePrincipal.
Returns:
toJson
userPrincipalName
public String userPrincipalName()
Get the userPrincipalName property: The user principal name(if valid).
Returns:
validate
public void validate()
Validates the instance.