AccessReviewInstanceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewInstanceProperties
- com.
Implements
public final class AccessReviewInstanceProperties
implements JsonSerializable<AccessReviewInstanceProperties>
Access Review Instance properties.
Constructor Summary
| Constructor | Description |
|---|---|
| AccessReviewInstanceProperties() |
Creates an instance of Access |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Access |
backupReviewers()
Get the backup |
|
Offset |
endDateTime()
Get the end |
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
|
List<Access |
reviewers()
Get the reviewers property: This is the collection of reviewers. |
|
Access |
reviewersType()
Get the reviewers |
|
Offset |
startDateTime()
Get the start |
|
Access |
status()
Get the status property: This read-only field specifies the status of an access review instance. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Access |
withBackupReviewers(List<AccessReviewReviewer> backupReviewers)
Set the backup |
|
Access |
withEndDateTime(OffsetDateTime endDateTime)
Set the end |
|
Access |
withReviewers(List<AccessReviewReviewer> reviewers)
Set the reviewers property: This is the collection of reviewers. |
|
Access |
withStartDateTime(OffsetDateTime startDateTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
AccessReviewInstanceProperties
public AccessReviewInstanceProperties()
Creates an instance of AccessReviewInstanceProperties class.
Method Details
backupReviewers
public List<AccessReviewReviewer> backupReviewers()
Get the backupReviewers property: This is the collection of backup reviewers.
Returns:
endDateTime
public OffsetDateTime endDateTime()
Get the endDateTime property: The DateTime when the review instance is scheduled to end.
Returns:
fromJson
public static AccessReviewInstanceProperties fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewInstanceProperties from the JsonReader.
Parameters:
Returns:
Throws:
reviewers
public List<AccessReviewReviewer> reviewers()
Get the reviewers property: This is the collection of reviewers.
Returns:
reviewersType
public AccessReviewInstanceReviewersType reviewersType()
Get the reviewersType property: This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review.
Returns:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: The DateTime when the review instance is scheduled to be start.
Returns:
status
public AccessReviewInstanceStatus status()
Get the status property: This read-only field specifies the status of an access review instance.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBackupReviewers
public AccessReviewInstanceProperties withBackupReviewers(List<AccessReviewReviewer> backupReviewers)
Set the backupReviewers property: This is the collection of backup reviewers.
Parameters:
Returns:
withEndDateTime
public AccessReviewInstanceProperties withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The DateTime when the review instance is scheduled to end.
Parameters:
Returns:
withReviewers
public AccessReviewInstanceProperties withReviewers(List<AccessReviewReviewer> reviewers)
Set the reviewers property: This is the collection of reviewers.
Parameters:
Returns:
withStartDateTime
public AccessReviewInstanceProperties withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The DateTime when the review instance is scheduled to be start.
Parameters:
Returns: