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