AccessReviewDecisionIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.models.AccessReviewDecisionIdentity

Implements

public class AccessReviewDecisionIdentity
implements JsonSerializable<AccessReviewDecisionIdentity>

Target of the decision.

Constructor Summary

Modifier Constructor Description
protected AccessReviewDecisionIdentity()

Creates an instance of AccessReviewDecisionIdentity class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The display name of the user whose access was reviewed.

static AccessReviewDecisionIdentity fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewDecisionIdentity from the JsonReader.

String id()

Get the id property: The id of principal whose access was reviewed.

JsonWriter toJson(JsonWriter jsonWriter)
DecisionTargetType type()

Get the type property: The type of decision target : User/ServicePrincipal.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AccessReviewDecisionIdentity

protected AccessReviewDecisionIdentity()

Creates an instance of AccessReviewDecisionIdentity class.

Method Details

displayName

public String displayName()

Get the displayName property: The display name of the user whose access was reviewed.

Returns:

the displayName value.

fromJson

public static AccessReviewDecisionIdentity fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewDecisionIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The id of principal whose access was reviewed.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public DecisionTargetType type()

Get the type property: The type of decision target : User/ServicePrincipal.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to