AccessReviewHistoryInstanceInner Class

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

Implements

public final class AccessReviewHistoryInstanceInner
implements JsonSerializable<AccessReviewHistoryInstanceInner>

Access Review History Definition Instance.

Constructor Summary

Constructor Description
AccessReviewHistoryInstanceInner()

Creates an instance of AccessReviewHistoryInstanceInner class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The display name for the parent history definition.

String downloadUri()

Get the downloadUri property: Uri which can be used to retrieve review history data.

OffsetDateTime expiration()

Get the expiration property: Date time when history data report expires and the associated data is deleted.

static AccessReviewHistoryInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewHistoryInstanceInner from the JsonReader.

OffsetDateTime fulfilledDateTime()

Get the fulfilledDateTime property: Date time when the history data report is scheduled to be generated.

String id()

Get the id property: The access review history definition instance id.

String name()

Get the name property: The access review history definition instance unique id.

OffsetDateTime reviewHistoryPeriodEndDateTime()

Get the reviewHistoryPeriodEndDateTime property: Date time used when selecting review data, all reviews included in data end on or before this date.

OffsetDateTime reviewHistoryPeriodStartDateTime()

Get the reviewHistoryPeriodStartDateTime property: Date time used when selecting review data, all reviews included in data start on or after this date.

OffsetDateTime runDateTime()

Get the runDateTime property: Date time when the history data report is scheduled to be generated.

AccessReviewHistoryDefinitionStatus status()

Get the status property: Status of the requested review history instance data.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

AccessReviewHistoryInstanceInner withDisplayName(String displayName)

Set the displayName property: The display name for the parent history definition.

AccessReviewHistoryInstanceInner withExpiration(OffsetDateTime expiration)

Set the expiration property: Date time when history data report expires and the associated data is deleted.

AccessReviewHistoryInstanceInner withFulfilledDateTime(OffsetDateTime fulfilledDateTime)

Set the fulfilledDateTime property: Date time when the history data report is scheduled to be generated.

AccessReviewHistoryInstanceInner withReviewHistoryPeriodEndDateTime(OffsetDateTime reviewHistoryPeriodEndDateTime)

Set the reviewHistoryPeriodEndDateTime property: Date time used when selecting review data, all reviews included in data end on or before this date.

AccessReviewHistoryInstanceInner withReviewHistoryPeriodStartDateTime(OffsetDateTime reviewHistoryPeriodStartDateTime)

Set the reviewHistoryPeriodStartDateTime property: Date time used when selecting review data, all reviews included in data start on or after this date.

AccessReviewHistoryInstanceInner withRunDateTime(OffsetDateTime runDateTime)

Set the runDateTime property: Date time when the history data report is scheduled to be generated.

Methods inherited from java.lang.Object

Constructor Details

AccessReviewHistoryInstanceInner

public AccessReviewHistoryInstanceInner()

Creates an instance of AccessReviewHistoryInstanceInner class.

Method Details

displayName

public String displayName()

Get the displayName property: The display name for the parent history definition.

Returns:

the displayName value.

downloadUri

public String downloadUri()

Get the downloadUri property: Uri which can be used to retrieve review history data. To generate this Uri, generateDownloadUri() must be called for a specific accessReviewHistoryDefinitionInstance. The link expires after a 24 hour period. Callers can see the expiration date time by looking at the 'se' parameter in the generated uri.

Returns:

the downloadUri value.

expiration

public OffsetDateTime expiration()

Get the expiration property: Date time when history data report expires and the associated data is deleted.

Returns:

the expiration value.

fromJson

public static AccessReviewHistoryInstanceInner fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewHistoryInstanceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

fulfilledDateTime

public OffsetDateTime fulfilledDateTime()

Get the fulfilledDateTime property: Date time when the history data report is scheduled to be generated.

Returns:

the fulfilledDateTime value.

id

public String id()

Get the id property: The access review history definition instance id.

Returns:

the id value.

name

public String name()

Get the name property: The access review history definition instance unique id.

Returns:

the name value.

reviewHistoryPeriodEndDateTime

public OffsetDateTime reviewHistoryPeriodEndDateTime()

Get the reviewHistoryPeriodEndDateTime property: Date time used when selecting review data, all reviews included in data end on or before this date. For use only with one-time/non-recurring reports.

Returns:

the reviewHistoryPeriodEndDateTime value.

reviewHistoryPeriodStartDateTime

public OffsetDateTime reviewHistoryPeriodStartDateTime()

Get the reviewHistoryPeriodStartDateTime property: Date time used when selecting review data, all reviews included in data start on or after this date. For use only with one-time/non-recurring reports.

Returns:

the reviewHistoryPeriodStartDateTime value.

runDateTime

public OffsetDateTime runDateTime()

Get the runDateTime property: Date time when the history data report is scheduled to be generated.

Returns:

the runDateTime value.

status

public AccessReviewHistoryDefinitionStatus status()

Get the status property: Status of the requested review history instance data. This is either requested, in-progress, done or error. The state transitions are as follows - Requested -> InProgress -> Done -> Expired.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDisplayName

public AccessReviewHistoryInstanceInner withDisplayName(String displayName)

Set the displayName property: The display name for the parent history definition.

Parameters:

displayName - the displayName value to set.

Returns:

the AccessReviewHistoryInstanceInner object itself.

withExpiration

public AccessReviewHistoryInstanceInner withExpiration(OffsetDateTime expiration)

Set the expiration property: Date time when history data report expires and the associated data is deleted.

Parameters:

expiration - the expiration value to set.

Returns:

the AccessReviewHistoryInstanceInner object itself.

withFulfilledDateTime

public AccessReviewHistoryInstanceInner withFulfilledDateTime(OffsetDateTime fulfilledDateTime)

Set the fulfilledDateTime property: Date time when the history data report is scheduled to be generated.

Parameters:

fulfilledDateTime - the fulfilledDateTime value to set.

Returns:

the AccessReviewHistoryInstanceInner object itself.

withReviewHistoryPeriodEndDateTime

public AccessReviewHistoryInstanceInner withReviewHistoryPeriodEndDateTime(OffsetDateTime reviewHistoryPeriodEndDateTime)

Set the reviewHistoryPeriodEndDateTime property: Date time used when selecting review data, all reviews included in data end on or before this date. For use only with one-time/non-recurring reports.

Parameters:

reviewHistoryPeriodEndDateTime - the reviewHistoryPeriodEndDateTime value to set.

Returns:

the AccessReviewHistoryInstanceInner object itself.

withReviewHistoryPeriodStartDateTime

public AccessReviewHistoryInstanceInner withReviewHistoryPeriodStartDateTime(OffsetDateTime reviewHistoryPeriodStartDateTime)

Set the reviewHistoryPeriodStartDateTime property: Date time used when selecting review data, all reviews included in data start on or after this date. For use only with one-time/non-recurring reports.

Parameters:

reviewHistoryPeriodStartDateTime - the reviewHistoryPeriodStartDateTime value to set.

Returns:

the AccessReviewHistoryInstanceInner object itself.

withRunDateTime

public AccessReviewHistoryInstanceInner withRunDateTime(OffsetDateTime runDateTime)

Set the runDateTime property: Date time when the history data report is scheduled to be generated.

Parameters:

runDateTime - the runDateTime value to set.

Returns:

the AccessReviewHistoryInstanceInner object itself.

Applies to