AccessReviewInstanceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewInstanceInner
- com.
- com.
public final class AccessReviewInstanceInner
extends ProxyResource
Access Review Instance.
Constructor Summary
| Constructor | Description |
|---|---|
| AccessReviewInstanceInner() |
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 |
| 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<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. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| 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 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:
endDateTime
public OffsetDateTime endDateTime()
Get the endDateTime property: The DateTime when the review instance is scheduled to end.
Returns:
fromJson
public static AccessReviewInstanceInner fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewInstanceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AccessReviewInstanceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AccessReviewInstanceInner.name()Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AccessReviewInstanceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AccessReviewInstanceInner.type()Returns:
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:
Returns:
withEndDateTime
public AccessReviewInstanceInner withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The DateTime when the review instance is scheduled to end.
Parameters:
Returns:
withReviewers
public AccessReviewInstanceInner withReviewers(List<AccessReviewReviewer> reviewers)
Set the reviewers property: This is the collection of reviewers.
Parameters:
Returns:
withStartDateTime
public AccessReviewInstanceInner withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The DateTime when the review instance is scheduled to be start.
Parameters:
Returns: