Class WindowsUpdateForBusinessConfiguration.Builder

    • Method Detail

      • allowWindows11Upgrade

        public WindowsUpdateForBusinessConfiguration.Builder allowWindows11Upgrade​(Boolean allowWindows11Upgrade)
        “When TRUE, allows eligible Windows 10 devices to upgrade to Windows 11. When FALSE, implies the device stays on the existing operating system. Returned by default. Query parameters are not supported.”
        Parameters:
        allowWindows11Upgrade - value of allowWindows11Upgrade property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • automaticUpdateMode

        public WindowsUpdateForBusinessConfiguration.Builder automaticUpdateMode​(AutomaticUpdateMode automaticUpdateMode)
        “The Automatic Update Mode. Possible values are: UserDefined, NotifyDownload, AutoInstallAtMaintenanceTime, AutoInstallAndRebootAtMaintenanceTime, AutoInstallAndRebootAtScheduledTime, AutoInstallAndRebootWithoutEndUserControl, WindowsDefault. UserDefined is the default value, no intent. Returned by default . Query parameters are not supported.”
        Parameters:
        automaticUpdateMode - value of automaticUpdateMode property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • autoRestartNotificationDismissal

        public WindowsUpdateForBusinessConfiguration.Builder autoRestartNotificationDismissal​(AutoRestartNotificationDismissalMethod autoRestartNotificationDismissal)
        “Specify the method by which the auto-restart required notification is dismissed. Possible values are: NotConfigured, Automatic, User. Returned by default. Query parameters are not supported.”
        Parameters:
        autoRestartNotificationDismissal - value of autoRestartNotificationDismissal property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • businessReadyUpdatesOnly

        public WindowsUpdateForBusinessConfiguration.Builder businessReadyUpdatesOnly​(WindowsUpdateType businessReadyUpdatesOnly)
        “Determines which branch devices will receive their updates from. Possible values are: UserDefined, All, BusinessReadyOnly, WindowsInsiderBuildFast, WindowsInsiderBuildSlow, WindowsInsiderBuildRelease. Returned by default. Query parameters are not supported.”
        Parameters:
        businessReadyUpdatesOnly - value of businessReadyUpdatesOnly property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deadlineForFeatureUpdatesInDays

        public WindowsUpdateForBusinessConfiguration.Builder deadlineForFeatureUpdatesInDays​(Integer deadlineForFeatureUpdatesInDays)
        “Number of days before feature updates are installed automatically with valid range from 0 to 30 days. Returned by default. Query parameters are not supported .”
        Parameters:
        deadlineForFeatureUpdatesInDays - value of deadlineForFeatureUpdatesInDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deadlineForQualityUpdatesInDays

        public WindowsUpdateForBusinessConfiguration.Builder deadlineForQualityUpdatesInDays​(Integer deadlineForQualityUpdatesInDays)
        “Number of days before quality updates are installed automatically with valid range from 0 to 30 days. Returned by default. Query parameters are not supported .”
        Parameters:
        deadlineForQualityUpdatesInDays - value of deadlineForQualityUpdatesInDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deadlineGracePeriodInDays

        public WindowsUpdateForBusinessConfiguration.Builder deadlineGracePeriodInDays​(Integer deadlineGracePeriodInDays)
        “Number of days after deadline until restarts occur automatically with valid range from 0 to 7 days. Returned by default. Query parameters are not supported.”
        Parameters:
        deadlineGracePeriodInDays - value of deadlineGracePeriodInDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • deliveryOptimizationMode

        public WindowsUpdateForBusinessConfiguration.Builder deliveryOptimizationMode​(WindowsDeliveryOptimizationMode deliveryOptimizationMode)
        “The Delivery Optimization Mode. Possible values are: UserDefined, HttpOnly, HttpWithPeeringNat, HttpWithPeeringPrivateGroup, HttpWithInternetPeering, SimpleDownload, BypassMode. UserDefined allows the user to set. Returned by default. Query parameters are not supported.”
        Parameters:
        deliveryOptimizationMode - value of deliveryOptimizationMode property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • driversExcluded

        public WindowsUpdateForBusinessConfiguration.Builder driversExcluded​(Boolean driversExcluded)
        “When TRUE, excludes Windows update Drivers. When FALSE, does not exclude Windows update Drivers. Returned by default. Query parameters are not supported.”
        Parameters:
        driversExcluded - value of driversExcluded property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • engagedRestartDeadlineInDays

        public WindowsUpdateForBusinessConfiguration.Builder engagedRestartDeadlineInDays​(Integer engagedRestartDeadlineInDays)
        “Deadline in days before automatically scheduling and executing a pending restart outside of active hours, with valid range from 2 to 30 days. Returned by default . Query parameters are not supported.”
        Parameters:
        engagedRestartDeadlineInDays - value of engagedRestartDeadlineInDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • engagedRestartSnoozeScheduleInDays

        public WindowsUpdateForBusinessConfiguration.Builder engagedRestartSnoozeScheduleInDays​(Integer engagedRestartSnoozeScheduleInDays)
        “Number of days a user can snooze Engaged Restart reminder notifications with valid range from 1 to 3 days. Returned by default. Query parameters are not supported.”
        Parameters:
        engagedRestartSnoozeScheduleInDays - value of engagedRestartSnoozeScheduleInDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • engagedRestartTransitionScheduleInDays

        public WindowsUpdateForBusinessConfiguration.Builder engagedRestartTransitionScheduleInDays​(Integer engagedRestartTransitionScheduleInDays)
        “Number of days before transitioning from Auto Restarts scheduled outside of active hours to Engaged Restart, which requires the user to schedule, with valid range from 0 to 30 days. Returned by default. Query parameters are not supported .”
        Parameters:
        engagedRestartTransitionScheduleInDays - value of engagedRestartTransitionScheduleInDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • featureUpdatesDeferralPeriodInDays

        public WindowsUpdateForBusinessConfiguration.Builder featureUpdatesDeferralPeriodInDays​(Integer featureUpdatesDeferralPeriodInDays)
        “Defer Feature Updates by these many days with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.”
        Parameters:
        featureUpdatesDeferralPeriodInDays - value of featureUpdatesDeferralPeriodInDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • featureUpdatesPaused

        public WindowsUpdateForBusinessConfiguration.Builder featureUpdatesPaused​(Boolean featureUpdatesPaused)
        “When TRUE, assigned devices are paused from receiving feature updates for up to 35 days from the time you pause the ring. When FALSE, does not pause Feature Updates. Returned by default. Query parameters are not supported.s”
        Parameters:
        featureUpdatesPaused - value of featureUpdatesPaused property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • featureUpdatesPauseExpiryDateTime

        public WindowsUpdateForBusinessConfiguration.Builder featureUpdatesPauseExpiryDateTime​(OffsetDateTime featureUpdatesPauseExpiryDateTime)
        “The Feature Updates Pause Expiry datetime. This value is 35 days from the time admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported.”
        Parameters:
        featureUpdatesPauseExpiryDateTime - value of featureUpdatesPauseExpiryDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • featureUpdatesPauseStartDate

        public WindowsUpdateForBusinessConfiguration.Builder featureUpdatesPauseStartDate​(LocalDate featureUpdatesPauseStartDate)
        “The Feature Updates Pause start date. This value is the time when the admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        featureUpdatesPauseStartDate - value of featureUpdatesPauseStartDate property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • featureUpdatesRollbackStartDateTime

        public WindowsUpdateForBusinessConfiguration.Builder featureUpdatesRollbackStartDateTime​(OffsetDateTime featureUpdatesRollbackStartDateTime)
        “The Feature Updates Rollback Start datetime.This value is the time when the admin rolled back the Feature update for the ring.Returned by default.Query parameters are not supported.”
        Parameters:
        featureUpdatesRollbackStartDateTime - value of featureUpdatesRollbackStartDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • featureUpdatesRollbackWindowInDays

        public WindowsUpdateForBusinessConfiguration.Builder featureUpdatesRollbackWindowInDays​(Integer featureUpdatesRollbackWindowInDays)
        “The number of days after a Feature Update for which a rollback is valid with valid range from 2 to 60 days. Returned by default. Query parameters are not supported.”
        Parameters:
        featureUpdatesRollbackWindowInDays - value of featureUpdatesRollbackWindowInDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • featureUpdatesWillBeRolledBack

        public WindowsUpdateForBusinessConfiguration.Builder featureUpdatesWillBeRolledBack​(Boolean featureUpdatesWillBeRolledBack)
        “When TRUE, rollback Feature Updates on the next device check in. When FALSE, do not rollback Feature Updates on the next device check in. Returned by default. Query parameters are not supported.”
        Parameters:
        featureUpdatesWillBeRolledBack - value of featureUpdatesWillBeRolledBack property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • installationSchedule

        public WindowsUpdateForBusinessConfiguration.Builder installationSchedule​(WindowsUpdateInstallScheduleType installationSchedule)
        “The Installation Schedule. Possible values are: ActiveHoursStart, ActiveHoursEnd , ScheduledInstallDay, ScheduledInstallTime. Returned by default. Query parameters are not supported.”
        Parameters:
        installationSchedule - value of installationSchedule property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • microsoftUpdateServiceAllowed

        public WindowsUpdateForBusinessConfiguration.Builder microsoftUpdateServiceAllowed​(Boolean microsoftUpdateServiceAllowed)
        “When TRUE, allows Microsoft Update Service. When FALSE, does not allow Microsoft Update Service. Returned by default. Query parameters are not supported.”
        Parameters:
        microsoftUpdateServiceAllowed - value of microsoftUpdateServiceAllowed property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • postponeRebootUntilAfterDeadline

        public WindowsUpdateForBusinessConfiguration.Builder postponeRebootUntilAfterDeadline​(Boolean postponeRebootUntilAfterDeadline)
        “When TRUE the device should wait until deadline for rebooting outside of active hours. When FALSE the device should not wait until deadline for rebooting outside of active hours. Returned by default. Query parameters are not supported .”
        Parameters:
        postponeRebootUntilAfterDeadline - value of postponeRebootUntilAfterDeadline property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • prereleaseFeatures

        public WindowsUpdateForBusinessConfiguration.Builder prereleaseFeatures​(PrereleaseFeatures prereleaseFeatures)
        “The Pre-Release Features. Possible values are: UserDefined, SettingsOnly, SettingsAndExperimentations, NotAllowed. UserDefined is the default value, no intent. Returned by default. Query parameters are not supported.”
        Parameters:
        prereleaseFeatures - value of prereleaseFeatures property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • qualityUpdatesDeferralPeriodInDays

        public WindowsUpdateForBusinessConfiguration.Builder qualityUpdatesDeferralPeriodInDays​(Integer qualityUpdatesDeferralPeriodInDays)
        “Defer Quality Updates by these many days with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.”
        Parameters:
        qualityUpdatesDeferralPeriodInDays - value of qualityUpdatesDeferralPeriodInDays property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • qualityUpdatesPaused

        public WindowsUpdateForBusinessConfiguration.Builder qualityUpdatesPaused​(Boolean qualityUpdatesPaused)
        “When TRUE, assigned devices are paused from receiving quality updates for up to 35 days from the time you pause the ring. When FALSE, does not pause Quality Updates. Returned by default. Query parameters are not supported.”
        Parameters:
        qualityUpdatesPaused - value of qualityUpdatesPaused property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • qualityUpdatesPauseExpiryDateTime

        public WindowsUpdateForBusinessConfiguration.Builder qualityUpdatesPauseExpiryDateTime​(OffsetDateTime qualityUpdatesPauseExpiryDateTime)
        “The Quality Updates Pause Expiry datetime. This value is 35 days from the time admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported.”
        Parameters:
        qualityUpdatesPauseExpiryDateTime - value of qualityUpdatesPauseExpiryDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • qualityUpdatesPauseStartDate

        public WindowsUpdateForBusinessConfiguration.Builder qualityUpdatesPauseStartDate​(LocalDate qualityUpdatesPauseStartDate)
        “The Quality Updates Pause start date. This value is the time when the admin paused or extended the pause for the ring. Returned by default. Query parameters are not supported. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        qualityUpdatesPauseStartDate - value of qualityUpdatesPauseStartDate property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • qualityUpdatesRollbackStartDateTime

        public WindowsUpdateForBusinessConfiguration.Builder qualityUpdatesRollbackStartDateTime​(OffsetDateTime qualityUpdatesRollbackStartDateTime)
        “The Quality Updates Rollback Start datetime. This value is the time when the admin rolled back the Quality update for the ring. Returned by default. Query parameters are not supported.”
        Parameters:
        qualityUpdatesRollbackStartDateTime - value of qualityUpdatesRollbackStartDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • qualityUpdatesWillBeRolledBack

        public WindowsUpdateForBusinessConfiguration.Builder qualityUpdatesWillBeRolledBack​(Boolean qualityUpdatesWillBeRolledBack)
        “When TRUE, rollback Quality Updates on the next device check in. When FALSE, do not rollback Quality Updates on the next device check in. Returned by default. Query parameters are not supported.”
        Parameters:
        qualityUpdatesWillBeRolledBack - value of qualityUpdatesWillBeRolledBack property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • scheduleImminentRestartWarningInMinutes

        public WindowsUpdateForBusinessConfiguration.Builder scheduleImminentRestartWarningInMinutes​(Integer scheduleImminentRestartWarningInMinutes)
        “Specify the period for auto-restart imminent warning notifications. Supported values: 15, 30 or 60 (minutes). Returned by default. Query parameters are not supported.”
        Parameters:
        scheduleImminentRestartWarningInMinutes - value of scheduleImminentRestartWarningInMinutes property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • scheduleRestartWarningInHours

        public WindowsUpdateForBusinessConfiguration.Builder scheduleRestartWarningInHours​(Integer scheduleRestartWarningInHours)
        “Specify the period for auto-restart warning reminder notifications. Supported values: 2, 4, 8, 12 or 24 (hours). Returned by default. Query parameters are not supported.”
        Parameters:
        scheduleRestartWarningInHours - value of scheduleRestartWarningInHours property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • skipChecksBeforeRestart

        public WindowsUpdateForBusinessConfiguration.Builder skipChecksBeforeRestart​(Boolean skipChecksBeforeRestart)
        “When TRUE, skips all checks before restart: Battery level = 40%, User presence, Display Needed, Presentation mode, Full screen mode, phone call state, game mode etc. When FALSE, does not skip all checks before restart. Returned by default. Query parameters are not supported.”
        Parameters:
        skipChecksBeforeRestart - value of skipChecksBeforeRestart property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • updateNotificationLevel

        public WindowsUpdateForBusinessConfiguration.Builder updateNotificationLevel​(WindowsUpdateNotificationDisplayOption updateNotificationLevel)
        “Specifies what Windows Update notifications users see. Possible values are: NotConfigured, DefaultNotifications, RestartWarningsOnly, DisableAllNotifications. Returned by default. Query parameters are not supported .”
        Parameters:
        updateNotificationLevel - value of updateNotificationLevel property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • updateWeeks

        public WindowsUpdateForBusinessConfiguration.Builder updateWeeks​(WindowsUpdateForBusinessUpdateWeeks updateWeeks)
        “Schedule the update installation on the weeks of the month. Possible values are: UserDefined, FirstWeek, SecondWeek, ThirdWeek, FourthWeek, EveryWeek. Returned by default. Query parameters are not supported.”
        Parameters:
        updateWeeks - value of updateWeeks property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • userPauseAccess

        public WindowsUpdateForBusinessConfiguration.Builder userPauseAccess​(Enablement userPauseAccess)
        “Specifies whether to enable end user’s access to pause software updates. Possible values are: NotConfigured, Enabled, Disabled. Returned by default. Query parameters are not supported.”
        Parameters:
        userPauseAccess - value of userPauseAccess property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • userWindowsUpdateScanAccess

        public WindowsUpdateForBusinessConfiguration.Builder userWindowsUpdateScanAccess​(Enablement userWindowsUpdateScanAccess)
        “Specifies whether to disable user’s access to scan Windows Update. Possible values are: NotConfigured, Enabled, Disabled. Returned by default. Query parameters are not supported.”
        Parameters:
        userWindowsUpdateScanAccess - value of userWindowsUpdateScanAccess property (as defined in service metadata)
        Returns:
        this (for method chaining)