Class AccessReviewScheduleSettings

java.lang.Object
com.microsoft.graph.models.AccessReviewScheduleSettings
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class AccessReviewScheduleSettings extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • AccessReviewScheduleSettings

      public AccessReviewScheduleSettings()
      Instantiates a new AccessReviewScheduleSettings and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static AccessReviewScheduleSettings createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a AccessReviewScheduleSettings
    • getAdditionalData

      @Nonnull public Map<String,Object> getAdditionalData()
      Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getApplyActions

      @Nullable public List<AccessReviewApplyAction> getApplyActions()
      Gets the applyActions property value. Optional field. Describes the actions to take once a review is complete. There are two types that are currently supported: removeAccessApplyAction (default) and disableAndDeleteUserApplyAction. Field only needs to be specified in the case of disableAndDeleteUserApplyAction.
      Returns:
      a List<AccessReviewApplyAction>
    • getAutoApplyDecisionsEnabled

      @Nullable public Boolean getAutoApplyDecisionsEnabled()
      Gets the autoApplyDecisionsEnabled property value. Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
      Returns:
      a Boolean
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getDecisionHistoriesForReviewersEnabled

      @Nullable public Boolean getDecisionHistoriesForReviewersEnabled()
      Gets the decisionHistoriesForReviewersEnabled property value. Indicates whether decisions on previous access review stages are available for reviewers on an accessReviewInstance with multiple subsequent stages. If not provided, the default is disabled (false).
      Returns:
      a Boolean
    • getDefaultDecision

      @Nullable public String getDefaultDecision()
      Gets the defaultDecision property value. Decision chosen if defaultDecisionEnabled is enabled. Can be one of Approve, Deny, or Recommendation.
      Returns:
      a String
    • getDefaultDecisionEnabled

      @Nullable public Boolean getDefaultDecisionEnabled()
      Gets the defaultDecisionEnabled property value. Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
      Returns:
      a Boolean
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInstanceDurationInDays

      @Nullable public Integer getInstanceDurationInDays()
      Gets the instanceDurationInDays property value. Duration of an access review instance in days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its durationInDays setting will be used instead of the value of this property.
      Returns:
      a Integer
    • getJustificationRequiredOnApproval

      @Nullable public Boolean getJustificationRequiredOnApproval()
      Gets the justificationRequiredOnApproval property value. Indicates whether reviewers are required to provide justification with their decision. Default value is false.
      Returns:
      a Boolean
    • getMailNotificationsEnabled

      @Nullable public Boolean getMailNotificationsEnabled()
      Gets the mailNotificationsEnabled property value. Indicates whether emails are enabled or disabled. Default value is false.
      Returns:
      a Boolean
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getRecommendationInsightSettings

      @Nullable public List<AccessReviewRecommendationInsightSetting> getRecommendationInsightSettings()
      Gets the recommendationInsightSettings property value. Optional. Describes the types of insights that aid reviewers to make access review decisions. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationInsightSettings setting will be used instead of the value of this property.
      Returns:
      a List<AccessReviewRecommendationInsightSetting>
    • getRecommendationLookBackDuration

      @Nullable public com.microsoft.kiota.PeriodAndDuration getRecommendationLookBackDuration()
      Gets the recommendationLookBackDuration property value. Optional field. Indicates the period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Microsoft Entra roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationLookBackDuration setting will be used instead of the value of this property.
      Returns:
      a PeriodAndDuration
    • getRecommendationsEnabled

      @Nullable public Boolean getRecommendationsEnabled()
      Gets the recommendationsEnabled property value. Indicates whether decision recommendations are enabled or disabled. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationsEnabled setting will be used instead of the value of this property.
      Returns:
      a Boolean
    • getRecurrence

      @Nullable public PatternedRecurrence getRecurrence()
      Gets the recurrence property value. Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts.
      Returns:
      a PatternedRecurrence
    • getReminderNotificationsEnabled

      @Nullable public Boolean getReminderNotificationsEnabled()
      Gets the reminderNotificationsEnabled property value. Indicates whether reminders are enabled or disabled. Default value is false.
      Returns:
      a Boolean
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
      Parameters:
      value - Value to set for the AdditionalData property.
    • setApplyActions

      public void setApplyActions(@Nullable List<AccessReviewApplyAction> value)
      Sets the applyActions property value. Optional field. Describes the actions to take once a review is complete. There are two types that are currently supported: removeAccessApplyAction (default) and disableAndDeleteUserApplyAction. Field only needs to be specified in the case of disableAndDeleteUserApplyAction.
      Parameters:
      value - Value to set for the applyActions property.
    • setAutoApplyDecisionsEnabled

      public void setAutoApplyDecisionsEnabled(@Nullable Boolean value)
      Sets the autoApplyDecisionsEnabled property value. Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
      Parameters:
      value - Value to set for the autoApplyDecisionsEnabled property.
    • setBackingStore

      public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value)
      Sets the backingStore property value. Stores model information.
      Parameters:
      value - Value to set for the backingStore property.
    • setDecisionHistoriesForReviewersEnabled

      public void setDecisionHistoriesForReviewersEnabled(@Nullable Boolean value)
      Sets the decisionHistoriesForReviewersEnabled property value. Indicates whether decisions on previous access review stages are available for reviewers on an accessReviewInstance with multiple subsequent stages. If not provided, the default is disabled (false).
      Parameters:
      value - Value to set for the decisionHistoriesForReviewersEnabled property.
    • setDefaultDecision

      public void setDefaultDecision(@Nullable String value)
      Sets the defaultDecision property value. Decision chosen if defaultDecisionEnabled is enabled. Can be one of Approve, Deny, or Recommendation.
      Parameters:
      value - Value to set for the defaultDecision property.
    • setDefaultDecisionEnabled

      public void setDefaultDecisionEnabled(@Nullable Boolean value)
      Sets the defaultDecisionEnabled property value. Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond.
      Parameters:
      value - Value to set for the defaultDecisionEnabled property.
    • setInstanceDurationInDays

      public void setInstanceDurationInDays(@Nullable Integer value)
      Sets the instanceDurationInDays property value. Duration of an access review instance in days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its durationInDays setting will be used instead of the value of this property.
      Parameters:
      value - Value to set for the instanceDurationInDays property.
    • setJustificationRequiredOnApproval

      public void setJustificationRequiredOnApproval(@Nullable Boolean value)
      Sets the justificationRequiredOnApproval property value. Indicates whether reviewers are required to provide justification with their decision. Default value is false.
      Parameters:
      value - Value to set for the justificationRequiredOnApproval property.
    • setMailNotificationsEnabled

      public void setMailNotificationsEnabled(@Nullable Boolean value)
      Sets the mailNotificationsEnabled property value. Indicates whether emails are enabled or disabled. Default value is false.
      Parameters:
      value - Value to set for the mailNotificationsEnabled property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setRecommendationInsightSettings

      public void setRecommendationInsightSettings(@Nullable List<AccessReviewRecommendationInsightSetting> value)
      Sets the recommendationInsightSettings property value. Optional. Describes the types of insights that aid reviewers to make access review decisions. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationInsightSettings setting will be used instead of the value of this property.
      Parameters:
      value - Value to set for the recommendationInsightSettings property.
    • setRecommendationLookBackDuration

      public void setRecommendationLookBackDuration(@Nullable com.microsoft.kiota.PeriodAndDuration value)
      Sets the recommendationLookBackDuration property value. Optional field. Indicates the period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to deny if the user is inactive during the look-back duration. For reviews of groups and Microsoft Entra roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationLookBackDuration setting will be used instead of the value of this property.
      Parameters:
      value - Value to set for the recommendationLookBackDuration property.
    • setRecommendationsEnabled

      public void setRecommendationsEnabled(@Nullable Boolean value)
      Sets the recommendationsEnabled property value. Indicates whether decision recommendations are enabled or disabled. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its recommendationsEnabled setting will be used instead of the value of this property.
      Parameters:
      value - Value to set for the recommendationsEnabled property.
    • setRecurrence

      public void setRecurrence(@Nullable PatternedRecurrence value)
      Sets the recurrence property value. Detailed settings for recurrence using the standard Outlook recurrence object. Note: Only dayOfMonth, interval, and type (weekly, absoluteMonthly) properties are supported. Use the property startDate on recurrenceRange to determine the day the review starts.
      Parameters:
      value - Value to set for the recurrence property.
    • setReminderNotificationsEnabled

      public void setReminderNotificationsEnabled(@Nullable Boolean value)
      Sets the reminderNotificationsEnabled property value. Indicates whether reminders are enabled or disabled. Default value is false.
      Parameters:
      value - Value to set for the reminderNotificationsEnabled property.