AccessReviewRecurrenceSettings Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewRecurrenceSettings
- com.
Implements
public final class AccessReviewRecurrenceSettings
implements JsonSerializable<AccessReviewRecurrenceSettings>
Recurrence Settings of an Access Review Schedule Definition.
Constructor Summary
| Constructor | Description |
|---|---|
| AccessReviewRecurrenceSettings() |
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
AccessReviewRecurrenceSettings
public AccessReviewRecurrenceSettings()
Creates an instance of AccessReviewRecurrenceSettings 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 AccessReviewRecurrenceSettings fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewRecurrenceSettings 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 AccessReviewRecurrenceSettings 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 AccessReviewRecurrenceSettings 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 AccessReviewRecurrenceSettings 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 AccessReviewRecurrenceSettings 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 AccessReviewRecurrenceSettings withType(AccessReviewRecurrencePatternType type)
Set the type property: The recurrence type : weekly, monthly, etc.
Parameters:
Returns:
withTypeRangeType
public AccessReviewRecurrenceSettings withTypeRangeType(AccessReviewRecurrenceRangeType type)
Set the type property: The recurrence range type. The possible values are: endDate, noEnd, numbered.
Parameters:
Returns: