AccessReviewDecisionPrincipalResourceMembership Class

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

Implements

public final class AccessReviewDecisionPrincipalResourceMembership
implements JsonSerializable<AccessReviewDecisionPrincipalResourceMembership>

Target of the decision.

Method Summary

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

Reads an instance of AccessReviewDecisionPrincipalResourceMembership from the JsonReader.

List<AccessReviewDecisionPrincipalResourceMembershipType> membershipTypes()

Get the membershipTypes property: Every decision item in an access review represents a principal's membership to a resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static AccessReviewDecisionPrincipalResourceMembership fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewDecisionPrincipalResourceMembership from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

membershipTypes

public List<AccessReviewDecisionPrincipalResourceMembershipType> membershipTypes()

Get the membershipTypes property: Every decision item in an access review represents a principal's membership to a resource. This property represents details of the membership. Examples of this detail might be whether the principal has direct access or indirect access.

Returns:

the membershipTypes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to