AccessReviewHistoryScheduleSettings Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewHistoryScheduleSettings
- com.
Implements
public final class AccessReviewHistoryScheduleSettings
implements JsonSerializable<AccessReviewHistoryScheduleSettings>
Recurrence settings of an Access Review History Definition.
Constructor Summary
| Constructor | Description |
|---|---|
| AccessReviewHistoryScheduleSettings() |
Creates an instance of Access |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
endDate()
Get the end |
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
| Integer |
interval()
Get the interval property: The interval for recurrence. |
| Integer |
numberOfOccurrences()
Get the number |
|
Offset |
startDate()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Access |
type()
Get the type property: The recurrence type : weekly, monthly, etc. |
|
Access |
typeRangeType()
Get the type property: The recurrence range type. |
| void |
validate()
Validates the instance. |
|
Access |
withEndDate(OffsetDateTime endDate)
Set the end |
|
Access |
withInterval(Integer interval)
Set the interval property: The interval for recurrence. |
|
Access |
withNumberOfOccurrences(Integer numberOfOccurrences)
Set the number |
|
Access |
withStartDate(OffsetDateTime startDate)
Set the start |
|
Access |
withType(AccessReviewRecurrencePatternType type)
Set the type property: The recurrence type : weekly, monthly, etc. |
|
Access |
withTypeRangeType(AccessReviewRecurrenceRangeType type)
Set the type property: The recurrence range type. |
Methods inherited from java.lang.Object
Constructor Details
AccessReviewHistoryScheduleSettings
public AccessReviewHistoryScheduleSettings()
Creates an instance of AccessReviewHistoryScheduleSettings class.
Method Details
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 AccessReviewHistoryScheduleSettings fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewHistoryScheduleSettings from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
toJson
type
public AccessReviewRecurrencePatternType type()
Get the type property: The recurrence type : weekly, monthly, etc.
Returns:
typeRangeType
public AccessReviewRecurrenceRangeType typeRangeType()
Get the type property: The recurrence range type. The possible values are: endDate, noEnd, numbered.
Returns:
validate
public void validate()
Validates the instance.
withEndDate
public AccessReviewHistoryScheduleSettings withEndDate(OffsetDateTime endDate)
Set the endDate property: The DateTime when the review is scheduled to end. Required if type is endDate.
Parameters:
Returns:
withInterval
public AccessReviewHistoryScheduleSettings 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 AccessReviewHistoryScheduleSettings 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:
withStartDate
public AccessReviewHistoryScheduleSettings 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 AccessReviewHistoryScheduleSettings withType(AccessReviewRecurrencePatternType type)
Set the type property: The recurrence type : weekly, monthly, etc.
Parameters:
Returns:
withTypeRangeType
public AccessReviewHistoryScheduleSettings withTypeRangeType(AccessReviewRecurrenceRangeType type)
Set the type property: The recurrence range type. The possible values are: endDate, noEnd, numbered.
Parameters:
Returns: