AccessReviewReviewer Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. AccessReviewReviewer
- com.
Implements
public final class AccessReviewReviewer
implements JsonSerializable<AccessReviewReviewer>
Descriptor for what needs to be reviewed.
Constructor Summary
| Constructor | Description |
|---|---|
| AccessReviewReviewer() |
Creates an instance of Access |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
| String |
principalId()
Get the principal |
|
Access |
principalType()
Get the principal |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Access |
withPrincipalId(String principalId)
Set the principal |
Methods inherited from java.lang.Object
Constructor Details
AccessReviewReviewer
public AccessReviewReviewer()
Creates an instance of AccessReviewReviewer class.
Method Details
fromJson
public static AccessReviewReviewer fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewReviewer from the JsonReader.
Parameters:
Returns:
Throws:
principalId
public String principalId()
Get the principalId property: The id of the reviewer(user/servicePrincipal).
Returns:
principalType
public AccessReviewReviewerType principalType()
Get the principalType property: The identity type : user/servicePrincipal.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPrincipalId
public AccessReviewReviewer withPrincipalId(String principalId)
Set the principalId property: The id of the reviewer(user/servicePrincipal).
Parameters:
Returns: