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.”
    • 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()
        “Allow eligible Windows 10 devices to upgrade to the latest version of Windows 11 .”
        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.

        “Allow eligible Windows 10 devices to upgrade to the latest version of Windows 11 .”

        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()
        “Automatic update mode.”
        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.

        “Automatic update mode.”

        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”
        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”

        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”
        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”

        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 2 to 30 days”
        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 2 to 30 days”

        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 2 to 30 days”
        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 2 to 30 days”

        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”
        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”

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

        “Delivery Optimization Mode”

        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()
        “Exclude Windows update Drivers”
        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.

        “Exclude Windows update Drivers”

        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”
        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”

        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”
        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”

        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”
        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”

        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”
        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”

        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()
        “Pause Feature Updates”
        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.

        “Pause Feature Updates”

        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()
        “Feature Updates Pause Expiry datetime”
        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.

        “Feature Updates Pause Expiry datetime”

        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()
        “Feature Updates Pause start date. 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.

        “Feature Updates Pause start date. 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()
        “Feature Updates Rollback Start datetime”
        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.

        “Feature Updates Rollback Start datetime”

        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”
        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”

        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()
        “Specifies whether to rollback Feature Updates on the next device check in”
        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.

        “Specifies whether to rollback Feature Updates on the next device check in”

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

        “Installation schedule”

        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()
        “Allow Microsoft Update Service”
        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.

        “Allow Microsoft Update Service”

        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()
        “Specifies if the device should wait until deadline for rebooting outside of active hours”
        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.

        “Specifies if the device should wait until deadline for rebooting outside of active hours”

        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.”
        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.”

        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”
        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”

        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()
        “Pause Quality Updates”
        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.

        “Pause Quality Updates”

        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()
        “Quality Updates Pause Expiry datetime”
        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.

        “Quality Updates Pause Expiry datetime”

        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()
        “Quality Updates Pause start date. 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.

        “Quality Updates Pause start date. 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()
        “Quality Updates Rollback Start datetime”
        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.

        “Quality Updates Rollback Start datetime”

        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()
        “Specifies whether to rollback Quality Updates on the next device check in”
        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.

        “Specifies whether to rollback Quality Updates on the next device check in”

        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).”
        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).”

        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).”
        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).”

        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()
        “Set to skip all check before restart: Battery level = 40%, User presence, Display Needed, Presentation mode, Full screen mode, phone call state, game mode etc.”
        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.

        “Set to skip all check before restart: Battery level = 40%, User presence, Display Needed, Presentation mode, Full screen mode, phone call state, game mode etc.”

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

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

        “Scheduled the update installation on the weeks of the month”

        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.”
        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.”

        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.”
        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.”

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

        public WindowsUpdateStateCollectionRequest getDeviceUpdateStates()
        “Windows update for business configuration device states. This collection can contain a maximum of 500 elements.”
        Returns:
        navigational property deviceUpdateStates
      • 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
      • extendFeatureUpdatesPause

        public com.github.davidmoten.odata.client.ActionRequestNoReturn extendFeatureUpdatesPause()
      • extendQualityUpdatesPause

        public com.github.davidmoten.odata.client.ActionRequestNoReturn extendQualityUpdatesPause()