AccessReviewInstanceInner Class

public final class AccessReviewInstanceInner
extends ProxyResource

Access Review Instance.

Constructor Summary

Constructor Description
AccessReviewInstanceInner()

Creates an instance of AccessReviewInstanceInner class.

Method Summary

Modifier and Type Method and Description
List<AccessReviewReviewer> backupReviewers()

Get the backupReviewers property: This is the collection of backup reviewers.

OffsetDateTime endDateTime()

Get the endDateTime property: The DateTime when the review instance is scheduled to end.

static AccessReviewInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewInstanceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

List<AccessReviewReviewer> reviewers()

Get the reviewers property: This is the collection of reviewers.

AccessReviewInstanceReviewersType reviewersType()

Get the reviewersType property: This field specifies the type of reviewers for a review.

OffsetDateTime startDateTime()

Get the startDateTime property: The DateTime when the review instance is scheduled to be start.

AccessReviewInstanceStatus status()

Get the status property: This read-only field specifies the status of an access review instance.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AccessReviewInstanceInner withBackupReviewers(List<AccessReviewReviewer> backupReviewers)

Set the backupReviewers property: This is the collection of backup reviewers.

AccessReviewInstanceInner withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: The DateTime when the review instance is scheduled to end.

AccessReviewInstanceInner withReviewers(List<AccessReviewReviewer> reviewers)

Set the reviewers property: This is the collection of reviewers.

AccessReviewInstanceInner withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: The DateTime when the review instance is scheduled to be start.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AccessReviewInstanceInner

public AccessReviewInstanceInner()

Creates an instance of AccessReviewInstanceInner class.

Method Details

backupReviewers

public List<AccessReviewReviewer> backupReviewers()

Get the backupReviewers property: This is the collection of backup reviewers.

Returns:

the backupReviewers value.

endDateTime

public OffsetDateTime endDateTime()

Get the endDateTime property: The DateTime when the review instance is scheduled to end.

Returns:

the endDateTime value.

fromJson

public static AccessReviewInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewInstanceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccessReviewInstanceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

AccessReviewInstanceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AccessReviewInstanceInner.name()

Returns:

the name value.

reviewers

public List<AccessReviewReviewer> reviewers()

Get the reviewers property: This is the collection of reviewers.

Returns:

the reviewers value.

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:

the reviewersType value.

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: The DateTime when the review instance is scheduled to be start.

Returns:

the startDateTime value.

status

public AccessReviewInstanceStatus status()

Get the status property: This read-only field specifies the status of an access review instance.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AccessReviewInstanceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AccessReviewInstanceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBackupReviewers

public AccessReviewInstanceInner withBackupReviewers(List<AccessReviewReviewer> backupReviewers)

Set the backupReviewers property: This is the collection of backup reviewers.

Parameters:

backupReviewers - the backupReviewers value to set.

Returns:

the AccessReviewInstanceInner object itself.

withEndDateTime

public AccessReviewInstanceInner withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: The DateTime when the review instance is scheduled to end.

Parameters:

endDateTime - the endDateTime value to set.

Returns:

the AccessReviewInstanceInner object itself.

withReviewers

public AccessReviewInstanceInner withReviewers(List<AccessReviewReviewer> reviewers)

Set the reviewers property: This is the collection of reviewers.

Parameters:

reviewers - the reviewers value to set.

Returns:

the AccessReviewInstanceInner object itself.

withStartDateTime

public AccessReviewInstanceInner withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: The DateTime when the review instance is scheduled to be start.

Parameters:

startDateTime - the startDateTime value to set.

Returns:

the AccessReviewInstanceInner object itself.

Applies to