AccessReviewDefaultSettingsInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewDefaultSettingsInner
- com.
- com.
public final class AccessReviewDefaultSettingsInner
extends ProxyResource
Access Review Default Settings.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
autoApplyDecisionsEnabled()
Get the auto |
|
Default |
defaultDecision()
Get the default |
| Boolean |
defaultDecisionEnabled()
Get the default |
|
Offset |
endDate()
Get the end |
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Integer |
instanceDurationInDays()
Get the instance |
| Integer |
interval()
Get the interval property: The interval for recurrence. |
| Boolean |
justificationRequiredOnApproval()
Get the justification |
| Boolean |
mailNotificationsEnabled()
Get the mail |
| String |
name()
Get the name property: The name of the resource. |
| Integer |
numberOfOccurrences()
Get the number |
| Duration |
recommendationLookBackDuration()
Get the recommendation |
| Boolean |
recommendationsEnabled()
Get the recommendations |
| Boolean |
reminderNotificationsEnabled()
Get the reminder |
|
Offset |
startDate()
Get the start |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Access |
typePropertiesType()
Get the type property: The recurrence type : weekly, monthly, etc. |
|
Access |
typeRangeType()
Get the type |
| void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Method Details
autoApplyDecisionsEnabled
public Boolean autoApplyDecisionsEnabled()
Get the autoApplyDecisionsEnabled property: Flag to indicate whether auto-apply capability, to automatically change the target object access resource, is enabled. If not enabled, a user must, after the review completes, apply the access review.
Returns:
defaultDecision
public DefaultDecisionType defaultDecision()
Get the defaultDecision property: This specifies the behavior for the autoReview feature when an access review completes.
Returns:
defaultDecisionEnabled
public Boolean defaultDecisionEnabled()
Get the defaultDecisionEnabled property: Flag to indicate whether reviewers are required to provide a justification when reviewing access.
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 AccessReviewDefaultSettingsInner fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewDefaultSettingsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AccessReviewDefaultSettingsInner.id()Returns:
instanceDurationInDays
public Integer instanceDurationInDays()
Get the instanceDurationInDays property: The duration in days for an instance.
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:
justificationRequiredOnApproval
public Boolean justificationRequiredOnApproval()
Get the justificationRequiredOnApproval property: Flag to indicate whether the reviewer is required to pass justification when recording a decision.
Returns:
mailNotificationsEnabled
public Boolean mailNotificationsEnabled()
Get the mailNotificationsEnabled property: Flag to indicate whether sending mails to reviewers and the review creator is enabled.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AccessReviewDefaultSettingsInner.name()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:
recommendationLookBackDuration
public Duration recommendationLookBackDuration()
Get the recommendationLookBackDuration property: Recommendations for access reviews are calculated by looking back at 30 days of data(w.r.t the start date of the review) by default. However, in some scenarios, customers want to change how far back to look at and want to configure 60 days, 90 days, etc. instead. This setting allows customers to configure this duration. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO\_8601\#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)).
Returns:
recommendationsEnabled
public Boolean recommendationsEnabled()
Get the recommendationsEnabled property: Flag to indicate whether showing recommendations to reviewers is enabled.
Returns:
reminderNotificationsEnabled
public Boolean reminderNotificationsEnabled()
Get the reminderNotificationsEnabled property: Flag to indicate whether sending reminder emails to reviewers are enabled.
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AccessReviewDefaultSettingsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AccessReviewDefaultSettingsInner.type()Returns:
typePropertiesType
public AccessReviewRecurrencePatternType typePropertiesType()
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:
validate
public void validate()
Validates the instance.