Class WindowsUpdateForBusinessConfiguration

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class WindowsUpdateForBusinessConfiguration
    extends DeviceConfiguration
    implements com.github.davidmoten.odata.client.ODataEntityType
    “Windows Update for business configuration, allows you to specify how and when Windows as a Service updates your Windows 10/11 devices with feature and quality updates. Supports ODATA clauses that DeviceConfiguration entity supports: $ filter by types of DeviceConfiguration, $top, $select only DeviceConfiguration base properties, $orderby only DeviceConfiguration base properties, and $skip. The query parameter '$search' is not supported.”
    • Field Detail

      • allowWindows11Upgrade

        protected Boolean allowWindows11Upgrade
      • deadlineForFeatureUpdatesInDays

        protected Integer deadlineForFeatureUpdatesInDays
      • deadlineForQualityUpdatesInDays

        protected Integer deadlineForQualityUpdatesInDays
      • deadlineGracePeriodInDays

        protected Integer deadlineGracePeriodInDays
      • driversExcluded

        protected Boolean driversExcluded
      • engagedRestartDeadlineInDays

        protected Integer engagedRestartDeadlineInDays
      • engagedRestartSnoozeScheduleInDays

        protected Integer engagedRestartSnoozeScheduleInDays
      • engagedRestartTransitionScheduleInDays

        protected Integer engagedRestartTransitionScheduleInDays
      • featureUpdatesDeferralPeriodInDays

        protected Integer featureUpdatesDeferralPeriodInDays
      • featureUpdatesPaused

        protected Boolean featureUpdatesPaused
      • featureUpdatesPauseExpiryDateTime

        protected OffsetDateTime featureUpdatesPauseExpiryDateTime
      • featureUpdatesPauseStartDate

        protected LocalDate featureUpdatesPauseStartDate
      • featureUpdatesRollbackStartDateTime

        protected OffsetDateTime featureUpdatesRollbackStartDateTime
      • featureUpdatesRollbackWindowInDays

        protected Integer featureUpdatesRollbackWindowInDays
      • featureUpdatesWillBeRolledBack

        protected Boolean featureUpdatesWillBeRolledBack
      • microsoftUpdateServiceAllowed

        protected Boolean microsoftUpdateServiceAllowed
      • postponeRebootUntilAfterDeadline

        protected Boolean postponeRebootUntilAfterDeadline
      • qualityUpdatesDeferralPeriodInDays

        protected Integer qualityUpdatesDeferralPeriodInDays
      • qualityUpdatesPaused

        protected Boolean qualityUpdatesPaused
      • qualityUpdatesPauseExpiryDateTime

        protected OffsetDateTime qualityUpdatesPauseExpiryDateTime
      • qualityUpdatesPauseStartDate

        protected LocalDate qualityUpdatesPauseStartDate
      • qualityUpdatesRollbackStartDateTime

        protected OffsetDateTime qualityUpdatesRollbackStartDateTime
      • qualityUpdatesWillBeRolledBack

        protected Boolean qualityUpdatesWillBeRolledBack
      • scheduleImminentRestartWarningInMinutes

        protected Integer scheduleImminentRestartWarningInMinutes
      • scheduleRestartWarningInHours

        protected Integer scheduleRestartWarningInHours
      • skipChecksBeforeRestart

        protected Boolean skipChecksBeforeRestart
      • userPauseAccess

        protected Enablement userPauseAccess
      • userWindowsUpdateScanAccess

        protected Enablement userWindowsUpdateScanAccess
    • Constructor Detail

      • WindowsUpdateForBusinessConfiguration

        protected WindowsUpdateForBusinessConfiguration()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DeviceConfiguration
      • builderWindowsUpdateForBusinessConfiguration

        public static WindowsUpdateForBusinessConfiguration.Builder builderWindowsUpdateForBusinessConfiguration()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class
      • getChangedFields

        public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
        Specified by:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DeviceConfiguration
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DeviceConfiguration
      • getAllowWindows11Upgrade

        public Optional<Boolean> getAllowWindows11Upgrade()
        “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.”
        Returns:
        property allowWindows11Upgrade
      • withAllowWindows11Upgrade

        public WindowsUpdateForBusinessConfiguration withAllowWindows11Upgrade​(Boolean allowWindows11Upgrade)
        Returns an immutable copy of this with just the allowWindows11Upgrade field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of allowWindows11Upgrade field (as defined in service metadata)
        Returns:
        immutable copy of this with just the allowWindows11Upgrade field changed
      • getAutomaticUpdateMode

        public Optional<AutomaticUpdateMode> getAutomaticUpdateMode()
        “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.”
        Returns:
        property automaticUpdateMode
      • withAutomaticUpdateMode

        public WindowsUpdateForBusinessConfiguration withAutomaticUpdateMode​(AutomaticUpdateMode automaticUpdateMode)
        Returns an immutable copy of this with just the automaticUpdateMode field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of automaticUpdateMode field (as defined in service metadata)
        Returns:
        immutable copy of this with just the automaticUpdateMode field changed
      • getAutoRestartNotificationDismissal

        public Optional<AutoRestartNotificationDismissalMethod> getAutoRestartNotificationDismissal()
        “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.”
        Returns:
        property autoRestartNotificationDismissal
      • withAutoRestartNotificationDismissal

        public WindowsUpdateForBusinessConfiguration withAutoRestartNotificationDismissal​(AutoRestartNotificationDismissalMethod autoRestartNotificationDismissal)
        Returns an immutable copy of this with just the autoRestartNotificationDismissal field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of autoRestartNotificationDismissal field (as defined in service metadata)
        Returns:
        immutable copy of this with just the autoRestartNotificationDismissal field changed
      • getBusinessReadyUpdatesOnly

        public Optional<WindowsUpdateType> getBusinessReadyUpdatesOnly()
        “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.”
        Returns:
        property businessReadyUpdatesOnly
      • withBusinessReadyUpdatesOnly

        public WindowsUpdateForBusinessConfiguration withBusinessReadyUpdatesOnly​(WindowsUpdateType businessReadyUpdatesOnly)
        Returns an immutable copy of this with just the businessReadyUpdatesOnly field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of businessReadyUpdatesOnly field (as defined in service metadata)
        Returns:
        immutable copy of this with just the businessReadyUpdatesOnly field changed
      • getDeadlineForFeatureUpdatesInDays

        public Optional<Integer> getDeadlineForFeatureUpdatesInDays()
        “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 .”
        Returns:
        property deadlineForFeatureUpdatesInDays
      • withDeadlineForFeatureUpdatesInDays

        public WindowsUpdateForBusinessConfiguration withDeadlineForFeatureUpdatesInDays​(Integer deadlineForFeatureUpdatesInDays)
        Returns an immutable copy of this with just the deadlineForFeatureUpdatesInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of deadlineForFeatureUpdatesInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deadlineForFeatureUpdatesInDays field changed
      • getDeadlineForQualityUpdatesInDays

        public Optional<Integer> getDeadlineForQualityUpdatesInDays()
        “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 .”
        Returns:
        property deadlineForQualityUpdatesInDays
      • withDeadlineForQualityUpdatesInDays

        public WindowsUpdateForBusinessConfiguration withDeadlineForQualityUpdatesInDays​(Integer deadlineForQualityUpdatesInDays)
        Returns an immutable copy of this with just the deadlineForQualityUpdatesInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of deadlineForQualityUpdatesInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deadlineForQualityUpdatesInDays field changed
      • getDeadlineGracePeriodInDays

        public Optional<Integer> getDeadlineGracePeriodInDays()
        “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.”
        Returns:
        property deadlineGracePeriodInDays
      • withDeadlineGracePeriodInDays

        public WindowsUpdateForBusinessConfiguration withDeadlineGracePeriodInDays​(Integer deadlineGracePeriodInDays)
        Returns an immutable copy of this with just the deadlineGracePeriodInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of deadlineGracePeriodInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deadlineGracePeriodInDays field changed
      • getDeliveryOptimizationMode

        public Optional<WindowsDeliveryOptimizationMode> getDeliveryOptimizationMode()
        “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.”
        Returns:
        property deliveryOptimizationMode
      • withDeliveryOptimizationMode

        public WindowsUpdateForBusinessConfiguration withDeliveryOptimizationMode​(WindowsDeliveryOptimizationMode deliveryOptimizationMode)
        Returns an immutable copy of this with just the deliveryOptimizationMode field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of deliveryOptimizationMode field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deliveryOptimizationMode field changed
      • getDriversExcluded

        public Optional<Boolean> getDriversExcluded()
        “When TRUE, excludes Windows update Drivers. When FALSE, does not exclude Windows update Drivers. Returned by default. Query parameters are not supported.”
        Returns:
        property driversExcluded
      • withDriversExcluded

        public WindowsUpdateForBusinessConfiguration withDriversExcluded​(Boolean driversExcluded)
        Returns an immutable copy of this with just the driversExcluded field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “When TRUE, excludes Windows update Drivers. When FALSE, does not exclude Windows update Drivers. Returned by default. Query parameters are not supported.”

        Parameters:
        driversExcluded - new value of driversExcluded field (as defined in service metadata)
        Returns:
        immutable copy of this with just the driversExcluded field changed
      • getEngagedRestartDeadlineInDays

        public Optional<Integer> getEngagedRestartDeadlineInDays()
        “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.”
        Returns:
        property engagedRestartDeadlineInDays
      • withEngagedRestartDeadlineInDays

        public WindowsUpdateForBusinessConfiguration withEngagedRestartDeadlineInDays​(Integer engagedRestartDeadlineInDays)
        Returns an immutable copy of this with just the engagedRestartDeadlineInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of engagedRestartDeadlineInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the engagedRestartDeadlineInDays field changed
      • getEngagedRestartSnoozeScheduleInDays

        public Optional<Integer> getEngagedRestartSnoozeScheduleInDays()
        “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.”
        Returns:
        property engagedRestartSnoozeScheduleInDays
      • withEngagedRestartSnoozeScheduleInDays

        public WindowsUpdateForBusinessConfiguration withEngagedRestartSnoozeScheduleInDays​(Integer engagedRestartSnoozeScheduleInDays)
        Returns an immutable copy of this with just the engagedRestartSnoozeScheduleInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of engagedRestartSnoozeScheduleInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the engagedRestartSnoozeScheduleInDays field changed
      • getEngagedRestartTransitionScheduleInDays

        public Optional<Integer> getEngagedRestartTransitionScheduleInDays()
        “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 .”
        Returns:
        property engagedRestartTransitionScheduleInDays
      • withEngagedRestartTransitionScheduleInDays

        public WindowsUpdateForBusinessConfiguration withEngagedRestartTransitionScheduleInDays​(Integer engagedRestartTransitionScheduleInDays)
        Returns an immutable copy of this with just the engagedRestartTransitionScheduleInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of engagedRestartTransitionScheduleInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the engagedRestartTransitionScheduleInDays field changed
      • getFeatureUpdatesDeferralPeriodInDays

        public Optional<Integer> getFeatureUpdatesDeferralPeriodInDays()
        “Defer Feature Updates by these many days with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.”
        Returns:
        property featureUpdatesDeferralPeriodInDays
      • withFeatureUpdatesDeferralPeriodInDays

        public WindowsUpdateForBusinessConfiguration withFeatureUpdatesDeferralPeriodInDays​(Integer featureUpdatesDeferralPeriodInDays)
        Returns an immutable copy of this with just the featureUpdatesDeferralPeriodInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of featureUpdatesDeferralPeriodInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the featureUpdatesDeferralPeriodInDays field changed
      • getFeatureUpdatesPaused

        public Optional<Boolean> getFeatureUpdatesPaused()
        “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”
        Returns:
        property featureUpdatesPaused
      • withFeatureUpdatesPaused

        public WindowsUpdateForBusinessConfiguration withFeatureUpdatesPaused​(Boolean featureUpdatesPaused)
        Returns an immutable copy of this with just the featureUpdatesPaused field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of featureUpdatesPaused field (as defined in service metadata)
        Returns:
        immutable copy of this with just the featureUpdatesPaused field changed
      • getFeatureUpdatesPauseExpiryDateTime

        public Optional<OffsetDateTime> getFeatureUpdatesPauseExpiryDateTime()
        “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.”
        Returns:
        property featureUpdatesPauseExpiryDateTime
      • withFeatureUpdatesPauseExpiryDateTime

        public WindowsUpdateForBusinessConfiguration withFeatureUpdatesPauseExpiryDateTime​(OffsetDateTime featureUpdatesPauseExpiryDateTime)
        Returns an immutable copy of this with just the featureUpdatesPauseExpiryDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of featureUpdatesPauseExpiryDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the featureUpdatesPauseExpiryDateTime field changed
      • getFeatureUpdatesPauseStartDate

        public Optional<LocalDate> getFeatureUpdatesPauseStartDate()
        “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

        Returns:
        property featureUpdatesPauseStartDate
      • withFeatureUpdatesPauseStartDate

        public WindowsUpdateForBusinessConfiguration withFeatureUpdatesPauseStartDate​(LocalDate featureUpdatesPauseStartDate)
        Returns an immutable copy of this with just the featureUpdatesPauseStartDate field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of featureUpdatesPauseStartDate field (as defined in service metadata)
        Returns:
        immutable copy of this with just the featureUpdatesPauseStartDate field changed
      • getFeatureUpdatesRollbackStartDateTime

        public Optional<OffsetDateTime> getFeatureUpdatesRollbackStartDateTime()
        “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.”
        Returns:
        property featureUpdatesRollbackStartDateTime
      • withFeatureUpdatesRollbackStartDateTime

        public WindowsUpdateForBusinessConfiguration withFeatureUpdatesRollbackStartDateTime​(OffsetDateTime featureUpdatesRollbackStartDateTime)
        Returns an immutable copy of this with just the featureUpdatesRollbackStartDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of featureUpdatesRollbackStartDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the featureUpdatesRollbackStartDateTime field changed
      • getFeatureUpdatesRollbackWindowInDays

        public Optional<Integer> getFeatureUpdatesRollbackWindowInDays()
        “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.”
        Returns:
        property featureUpdatesRollbackWindowInDays
      • withFeatureUpdatesRollbackWindowInDays

        public WindowsUpdateForBusinessConfiguration withFeatureUpdatesRollbackWindowInDays​(Integer featureUpdatesRollbackWindowInDays)
        Returns an immutable copy of this with just the featureUpdatesRollbackWindowInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of featureUpdatesRollbackWindowInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the featureUpdatesRollbackWindowInDays field changed
      • getFeatureUpdatesWillBeRolledBack

        public Optional<Boolean> getFeatureUpdatesWillBeRolledBack()
        “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.”
        Returns:
        property featureUpdatesWillBeRolledBack
      • withFeatureUpdatesWillBeRolledBack

        public WindowsUpdateForBusinessConfiguration withFeatureUpdatesWillBeRolledBack​(Boolean featureUpdatesWillBeRolledBack)
        Returns an immutable copy of this with just the featureUpdatesWillBeRolledBack field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of featureUpdatesWillBeRolledBack field (as defined in service metadata)
        Returns:
        immutable copy of this with just the featureUpdatesWillBeRolledBack field changed
      • getInstallationSchedule

        public Optional<WindowsUpdateInstallScheduleType> getInstallationSchedule()
        “The Installation Schedule. Possible values are: ActiveHoursStart, ActiveHoursEnd , ScheduledInstallDay, ScheduledInstallTime. Returned by default. Query parameters are not supported.”
        Returns:
        property installationSchedule
      • withInstallationSchedule

        public WindowsUpdateForBusinessConfiguration withInstallationSchedule​(WindowsUpdateInstallScheduleType installationSchedule)
        Returns an immutable copy of this with just the installationSchedule field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “The Installation Schedule. Possible values are: ActiveHoursStart, ActiveHoursEnd , ScheduledInstallDay, ScheduledInstallTime. Returned by default. Query parameters are not supported.”

        Parameters:
        installationSchedule - new value of installationSchedule field (as defined in service metadata)
        Returns:
        immutable copy of this with just the installationSchedule field changed
      • getMicrosoftUpdateServiceAllowed

        public Optional<Boolean> getMicrosoftUpdateServiceAllowed()
        “When TRUE, allows Microsoft Update Service. When FALSE, does not allow Microsoft Update Service. Returned by default. Query parameters are not supported.”
        Returns:
        property microsoftUpdateServiceAllowed
      • withMicrosoftUpdateServiceAllowed

        public WindowsUpdateForBusinessConfiguration withMicrosoftUpdateServiceAllowed​(Boolean microsoftUpdateServiceAllowed)
        Returns an immutable copy of this with just the microsoftUpdateServiceAllowed field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “When TRUE, allows Microsoft Update Service. When FALSE, does not allow Microsoft Update Service. Returned by default. Query parameters are not supported.”

        Parameters:
        microsoftUpdateServiceAllowed - new value of microsoftUpdateServiceAllowed field (as defined in service metadata)
        Returns:
        immutable copy of this with just the microsoftUpdateServiceAllowed field changed
      • getPostponeRebootUntilAfterDeadline

        public Optional<Boolean> getPostponeRebootUntilAfterDeadline()
        “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 .”
        Returns:
        property postponeRebootUntilAfterDeadline
      • withPostponeRebootUntilAfterDeadline

        public WindowsUpdateForBusinessConfiguration withPostponeRebootUntilAfterDeadline​(Boolean postponeRebootUntilAfterDeadline)
        Returns an immutable copy of this with just the postponeRebootUntilAfterDeadline field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of postponeRebootUntilAfterDeadline field (as defined in service metadata)
        Returns:
        immutable copy of this with just the postponeRebootUntilAfterDeadline field changed
      • getPrereleaseFeatures

        public Optional<PrereleaseFeatures> getPrereleaseFeatures()
        “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.”
        Returns:
        property prereleaseFeatures
      • withPrereleaseFeatures

        public WindowsUpdateForBusinessConfiguration withPrereleaseFeatures​(PrereleaseFeatures prereleaseFeatures)
        Returns an immutable copy of this with just the prereleaseFeatures field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of prereleaseFeatures field (as defined in service metadata)
        Returns:
        immutable copy of this with just the prereleaseFeatures field changed
      • getQualityUpdatesDeferralPeriodInDays

        public Optional<Integer> getQualityUpdatesDeferralPeriodInDays()
        “Defer Quality Updates by these many days with valid range from 0 to 30 days. Returned by default. Query parameters are not supported.”
        Returns:
        property qualityUpdatesDeferralPeriodInDays
      • withQualityUpdatesDeferralPeriodInDays

        public WindowsUpdateForBusinessConfiguration withQualityUpdatesDeferralPeriodInDays​(Integer qualityUpdatesDeferralPeriodInDays)
        Returns an immutable copy of this with just the qualityUpdatesDeferralPeriodInDays field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of qualityUpdatesDeferralPeriodInDays field (as defined in service metadata)
        Returns:
        immutable copy of this with just the qualityUpdatesDeferralPeriodInDays field changed
      • getQualityUpdatesPaused

        public Optional<Boolean> getQualityUpdatesPaused()
        “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.”
        Returns:
        property qualityUpdatesPaused
      • withQualityUpdatesPaused

        public WindowsUpdateForBusinessConfiguration withQualityUpdatesPaused​(Boolean qualityUpdatesPaused)
        Returns an immutable copy of this with just the qualityUpdatesPaused field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of qualityUpdatesPaused field (as defined in service metadata)
        Returns:
        immutable copy of this with just the qualityUpdatesPaused field changed
      • getQualityUpdatesPauseExpiryDateTime

        public Optional<OffsetDateTime> getQualityUpdatesPauseExpiryDateTime()
        “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.”
        Returns:
        property qualityUpdatesPauseExpiryDateTime
      • withQualityUpdatesPauseExpiryDateTime

        public WindowsUpdateForBusinessConfiguration withQualityUpdatesPauseExpiryDateTime​(OffsetDateTime qualityUpdatesPauseExpiryDateTime)
        Returns an immutable copy of this with just the qualityUpdatesPauseExpiryDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of qualityUpdatesPauseExpiryDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the qualityUpdatesPauseExpiryDateTime field changed
      • getQualityUpdatesPauseStartDate

        public Optional<LocalDate> getQualityUpdatesPauseStartDate()
        “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

        Returns:
        property qualityUpdatesPauseStartDate
      • withQualityUpdatesPauseStartDate

        public WindowsUpdateForBusinessConfiguration withQualityUpdatesPauseStartDate​(LocalDate qualityUpdatesPauseStartDate)
        Returns an immutable copy of this with just the qualityUpdatesPauseStartDate field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of qualityUpdatesPauseStartDate field (as defined in service metadata)
        Returns:
        immutable copy of this with just the qualityUpdatesPauseStartDate field changed
      • getQualityUpdatesRollbackStartDateTime

        public Optional<OffsetDateTime> getQualityUpdatesRollbackStartDateTime()
        “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.”
        Returns:
        property qualityUpdatesRollbackStartDateTime
      • withQualityUpdatesRollbackStartDateTime

        public WindowsUpdateForBusinessConfiguration withQualityUpdatesRollbackStartDateTime​(OffsetDateTime qualityUpdatesRollbackStartDateTime)
        Returns an immutable copy of this with just the qualityUpdatesRollbackStartDateTime field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of qualityUpdatesRollbackStartDateTime field (as defined in service metadata)
        Returns:
        immutable copy of this with just the qualityUpdatesRollbackStartDateTime field changed
      • getQualityUpdatesWillBeRolledBack

        public Optional<Boolean> getQualityUpdatesWillBeRolledBack()
        “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.”
        Returns:
        property qualityUpdatesWillBeRolledBack
      • withQualityUpdatesWillBeRolledBack

        public WindowsUpdateForBusinessConfiguration withQualityUpdatesWillBeRolledBack​(Boolean qualityUpdatesWillBeRolledBack)
        Returns an immutable copy of this with just the qualityUpdatesWillBeRolledBack field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of qualityUpdatesWillBeRolledBack field (as defined in service metadata)
        Returns:
        immutable copy of this with just the qualityUpdatesWillBeRolledBack field changed
      • getScheduleImminentRestartWarningInMinutes

        public Optional<Integer> getScheduleImminentRestartWarningInMinutes()
        “Specify the period for auto-restart imminent warning notifications. Supported values: 15, 30 or 60 (minutes). Returned by default. Query parameters are not supported.”
        Returns:
        property scheduleImminentRestartWarningInMinutes
      • withScheduleImminentRestartWarningInMinutes

        public WindowsUpdateForBusinessConfiguration withScheduleImminentRestartWarningInMinutes​(Integer scheduleImminentRestartWarningInMinutes)
        Returns an immutable copy of this with just the scheduleImminentRestartWarningInMinutes field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of scheduleImminentRestartWarningInMinutes field (as defined in service metadata)
        Returns:
        immutable copy of this with just the scheduleImminentRestartWarningInMinutes field changed
      • getScheduleRestartWarningInHours

        public Optional<Integer> getScheduleRestartWarningInHours()
        “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.”
        Returns:
        property scheduleRestartWarningInHours
      • withScheduleRestartWarningInHours

        public WindowsUpdateForBusinessConfiguration withScheduleRestartWarningInHours​(Integer scheduleRestartWarningInHours)
        Returns an immutable copy of this with just the scheduleRestartWarningInHours field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of scheduleRestartWarningInHours field (as defined in service metadata)
        Returns:
        immutable copy of this with just the scheduleRestartWarningInHours field changed
      • getSkipChecksBeforeRestart

        public Optional<Boolean> getSkipChecksBeforeRestart()
        “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.”
        Returns:
        property skipChecksBeforeRestart
      • withSkipChecksBeforeRestart

        public WindowsUpdateForBusinessConfiguration withSkipChecksBeforeRestart​(Boolean skipChecksBeforeRestart)
        Returns an immutable copy of this with just the skipChecksBeforeRestart field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of skipChecksBeforeRestart field (as defined in service metadata)
        Returns:
        immutable copy of this with just the skipChecksBeforeRestart field changed
      • getUpdateNotificationLevel

        public Optional<WindowsUpdateNotificationDisplayOption> getUpdateNotificationLevel()
        “Specifies what Windows Update notifications users see. Possible values are: NotConfigured, DefaultNotifications, RestartWarningsOnly, DisableAllNotifications. Returned by default. Query parameters are not supported .”
        Returns:
        property updateNotificationLevel
      • withUpdateNotificationLevel

        public WindowsUpdateForBusinessConfiguration withUpdateNotificationLevel​(WindowsUpdateNotificationDisplayOption updateNotificationLevel)
        Returns an immutable copy of this with just the updateNotificationLevel field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Specifies what Windows Update notifications users see. Possible values are: NotConfigured, DefaultNotifications, RestartWarningsOnly, DisableAllNotifications. Returned by default. Query parameters are not supported .”

        Parameters:
        updateNotificationLevel - new value of updateNotificationLevel field (as defined in service metadata)
        Returns:
        immutable copy of this with just the updateNotificationLevel field changed
      • getUpdateWeeks

        public Optional<WindowsUpdateForBusinessUpdateWeeks> getUpdateWeeks()
        “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.”
        Returns:
        property updateWeeks
      • withUpdateWeeks

        public WindowsUpdateForBusinessConfiguration withUpdateWeeks​(WindowsUpdateForBusinessUpdateWeeks updateWeeks)
        Returns an immutable copy of this with just the updateWeeks field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of updateWeeks field (as defined in service metadata)
        Returns:
        immutable copy of this with just the updateWeeks field changed
      • getUserPauseAccess

        public Optional<Enablement> getUserPauseAccess()
        “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.”
        Returns:
        property userPauseAccess
      • withUserPauseAccess

        public WindowsUpdateForBusinessConfiguration withUserPauseAccess​(Enablement userPauseAccess)
        Returns an immutable copy of this with just the userPauseAccess field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this. patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of userPauseAccess field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userPauseAccess field changed
      • getUserWindowsUpdateScanAccess

        public Optional<Enablement> getUserWindowsUpdateScanAccess()
        “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.”
        Returns:
        property userWindowsUpdateScanAccess
      • withUserWindowsUpdateScanAccess

        public WindowsUpdateForBusinessConfiguration withUserWindowsUpdateScanAccess​(Enablement userWindowsUpdateScanAccess)
        Returns an immutable copy of this with just the userWindowsUpdateScanAccess field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “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 - new value of userWindowsUpdateScanAccess field (as defined in service metadata)
        Returns:
        immutable copy of this with just the userWindowsUpdateScanAccess field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeviceConfiguration
      • patch

        public WindowsUpdateForBusinessConfiguration patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • put

        public WindowsUpdateForBusinessConfiguration put()
        Submits all fields for update and returns an immutable copy of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DeviceConfiguration
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected