AccessReviewHistoryDefinitionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewHistoryDefinitionProperties
- com.
Implements
public final class AccessReviewHistoryDefinitionProperties
implements JsonSerializable<AccessReviewHistoryDefinitionProperties>
Access Review History Instances.
Constructor Summary
| Constructor | Description |
|---|---|
| AccessReviewHistoryDefinitionProperties() |
Creates an instance of Access |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
createdDateTime()
Get the created |
|
List<Access |
decisions()
Get the decisions property: Collection of review decisions which the history data should be filtered on. |
| String |
displayName()
Get the display |
|
Offset |
endDate()
Get the end |
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
|
List<Access |
instances()
Get the instances property: Set of access review history instances for this history definition. |
| Integer |
interval()
Get the interval property: The interval for recurrence. |
| Integer |
numberOfOccurrences()
Get the number |
| String |
principalId()
Get the principal |
| String |
principalName()
Get the principal |
|
Access |
principalType()
Get the principal |
|
Offset |
reviewHistoryPeriodEndDateTime()
Get the review |
|
Offset |
reviewHistoryPeriodStartDateTime()
Get the review |
|
List<Access |
scopes()
Get the scopes property: A collection of scopes used when selecting review history data. |
|
Offset |
startDate()
Get the start |
|
Access |
status()
Get the status property: This read-only field specifies the of the requested review history data. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Access |
type()
Get the type property: The recurrence type : weekly, monthly, etc. |
|
Access |
typeRangeType()
Get the type |
| String |
userPrincipalName()
Get the user |
| void |
validate()
Validates the instance. |
|
Access |
withDecisions(List<AccessReviewResult> decisions)
Set the decisions property: Collection of review decisions which the history data should be filtered on. |
|
Access |
withDisplayName(String displayName)
Set the display |
|
Access |
withEndDate(OffsetDateTime endDate)
Set the end |
|
Access |
withInstances(List<AccessReviewHistoryInstanceInner> instances)
Set the instances property: Set of access review history instances for this history definition. |
|
Access |
withInterval(Integer interval)
Set the interval property: The interval for recurrence. |
|
Access |
withNumberOfOccurrences(Integer numberOfOccurrences)
Set the number |
|
Access |
withScopes(List<AccessReviewScope> scopes)
Set the scopes property: A collection of scopes used when selecting review history data. |
|
Access |
withStartDate(OffsetDateTime startDate)
Set the start |
|
Access |
withType(AccessReviewRecurrencePatternType type)
Set the type property: The recurrence type : weekly, monthly, etc. |
|
Access |
withTypeRangeType(AccessReviewRecurrenceRangeType typeRangeType)
Set the type |
Methods inherited from java.lang.Object
Constructor Details
AccessReviewHistoryDefinitionProperties
public AccessReviewHistoryDefinitionProperties()
Creates an instance of AccessReviewHistoryDefinitionProperties class.
Method Details
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Date time when history definition was created.
Returns:
decisions
public List<AccessReviewResult> decisions()
Get the decisions property: Collection of review decisions which the history data should be filtered on. For example if Approve and Deny are supplied the data will only contain review results in which the decision maker approved or denied a review request.
Returns:
displayName
public String displayName()
Get the displayName property: The display name for the history definition.
Returns:
endDate
public OffsetDateTime endDate()
Get the endDate property: The DateTime when the review is scheduled to end. Required if type is endDate.
Returns:
fromJson
public static AccessReviewHistoryDefinitionProperties fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewHistoryDefinitionProperties from the JsonReader.
Parameters:
Returns:
Throws:
instances
public List<AccessReviewHistoryInstanceInner> instances()
Get the instances property: Set of access review history instances for this history definition.
Returns:
interval
public Integer interval()
Get the interval property: The interval for recurrence. For a quarterly review, the interval is 3 for type : absoluteMonthly.
Returns:
numberOfOccurrences
public Integer numberOfOccurrences()
Get the numberOfOccurrences property: The number of times to repeat the access review. Required and must be positive if type is numbered.
Returns:
principalId
public String principalId()
Get the principalId property: The identity id.
Returns:
principalName
public String principalName()
Get the principalName property: The identity display name.
Returns:
principalType
public AccessReviewActorIdentityType principalType()
Get the principalType property: The identity type : user/servicePrincipal.
Returns:
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:
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:
scopes
public List<AccessReviewScope> scopes()
Get the scopes property: A collection of scopes used when selecting review history data.
Returns:
startDate
public OffsetDateTime startDate()
Get the startDate property: The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create.
Returns:
status
public AccessReviewHistoryDefinitionStatus status()
Get the status property: This read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error.
Returns:
toJson
type
public AccessReviewRecurrencePatternType type()
Get the type property: The recurrence type : weekly, monthly, etc.
Returns:
typeRangeType
public AccessReviewRecurrenceRangeType typeRangeType()
Get the typeRangeType property: The recurrence range type. The possible values are: endDate, noEnd, numbered.
Returns:
userPrincipalName
public String userPrincipalName()
Get the userPrincipalName property: The user principal name(if valid).
Returns:
validate
public void validate()
Validates the instance.
withDecisions
public AccessReviewHistoryDefinitionProperties withDecisions(List<AccessReviewResult> decisions)
Set the decisions property: Collection of review decisions which the history data should be filtered on. For example if Approve and Deny are supplied the data will only contain review results in which the decision maker approved or denied a review request.
Parameters:
Returns:
withDisplayName
public AccessReviewHistoryDefinitionProperties withDisplayName(String displayName)
Set the displayName property: The display name for the history definition.
Parameters:
Returns:
withEndDate
public AccessReviewHistoryDefinitionProperties withEndDate(OffsetDateTime endDate)
Set the endDate property: The DateTime when the review is scheduled to end. Required if type is endDate.
Parameters:
Returns:
withInstances
public AccessReviewHistoryDefinitionProperties withInstances(List<AccessReviewHistoryInstanceInner> instances)
Set the instances property: Set of access review history instances for this history definition.
Parameters:
Returns:
withInterval
public AccessReviewHistoryDefinitionProperties withInterval(Integer interval)
Set the interval property: The interval for recurrence. For a quarterly review, the interval is 3 for type : absoluteMonthly.
Parameters:
Returns:
withNumberOfOccurrences
public AccessReviewHistoryDefinitionProperties withNumberOfOccurrences(Integer numberOfOccurrences)
Set the numberOfOccurrences property: The number of times to repeat the access review. Required and must be positive if type is numbered.
Parameters:
Returns:
withScopes
public AccessReviewHistoryDefinitionProperties withScopes(List<AccessReviewScope> scopes)
Set the scopes property: A collection of scopes used when selecting review history data.
Parameters:
Returns:
withStartDate
public AccessReviewHistoryDefinitionProperties withStartDate(OffsetDateTime startDate)
Set the startDate property: The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create.
Parameters:
Returns:
withType
public AccessReviewHistoryDefinitionProperties withType(AccessReviewRecurrencePatternType type)
Set the type property: The recurrence type : weekly, monthly, etc.
Parameters:
Returns:
withTypeRangeType
public AccessReviewHistoryDefinitionProperties withTypeRangeType(AccessReviewRecurrenceRangeType typeRangeType)
Set the typeRangeType property: The recurrence range type. The possible values are: endDate, noEnd, numbered.
Parameters:
Returns: