AccessReviewRecurrencePattern Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewRecurrencePattern
- com.
Implements
public final class AccessReviewRecurrencePattern
implements JsonSerializable<AccessReviewRecurrencePattern>
Recurrence Pattern of an Access Review Schedule Definition.
Constructor Summary
| Constructor | Description |
|---|---|
| AccessReviewRecurrencePattern() |
Creates an instance of Access |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
| Integer |
interval()
Get the interval property: The interval for recurrence. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Access |
type()
Get the type property: The recurrence type : weekly, monthly, etc. |
| void |
validate()
Validates the instance. |
|
Access |
withInterval(Integer interval)
Set the interval property: The interval for recurrence. |
|
Access |
withType(AccessReviewRecurrencePatternType type)
Set the type property: The recurrence type : weekly, monthly, etc. |
Methods inherited from java.lang.Object
Constructor Details
AccessReviewRecurrencePattern
public AccessReviewRecurrencePattern()
Creates an instance of AccessReviewRecurrencePattern class.
Method Details
fromJson
public static AccessReviewRecurrencePattern fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewRecurrencePattern 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:
toJson
type
public AccessReviewRecurrencePatternType type()
Get the type property: The recurrence type : weekly, monthly, etc.
Returns:
validate
public void validate()
Validates the instance.
withInterval
public AccessReviewRecurrencePattern withInterval(Integer interval)
Set the interval property: The interval for recurrence. For a quarterly review, the interval is 3 for type : absoluteMonthly.
Parameters:
Returns:
withType
public AccessReviewRecurrencePattern withType(AccessReviewRecurrencePatternType type)
Set the type property: The recurrence type : weekly, monthly, etc.
Parameters:
Returns: