Class WindowsUpdateForBusinessConfiguration
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DeviceConfiguration
-
- odata.msgraph.client.entity.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsUpdateForBusinessConfiguration.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.DeviceConfiguration
assignments, createdDateTime, description, deviceSettingStateSummaries, deviceStatuses, deviceStatusOverview, displayName, lastModifiedDateTime, userStatuses, userStatusOverview, version
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsUpdateForBusinessConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsUpdateForBusinessConfiguration.BuilderbuilderWindowsUpdateForBusinessConfiguration()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAllowWindows11Upgrade()“When TRUE, allows eligible Windows 10 devices to upgrade to Windows 11.Optional<AutomaticUpdateMode>getAutomaticUpdateMode()“The Automatic Update Mode.Optional<AutoRestartNotificationDismissalMethod>getAutoRestartNotificationDismissal()“Specify the method by which the auto-restart required notification is dismissed.Optional<WindowsUpdateType>getBusinessReadyUpdatesOnly()“Determines which branch devices will receive their updates from.com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getDeadlineForFeatureUpdatesInDays()“Number of days before feature updates are installed automatically with valid range from 0 to 30 days.Optional<Integer>getDeadlineForQualityUpdatesInDays()“Number of days before quality updates are installed automatically with valid range from 0 to 30 days.Optional<Integer>getDeadlineGracePeriodInDays()“Number of days after deadline until restarts occur automatically with valid range from 0 to 7 days.Optional<WindowsDeliveryOptimizationMode>getDeliveryOptimizationMode()“The Delivery Optimization Mode.Optional<Boolean>getDriversExcluded()“When TRUE, excludes Windows update Drivers.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.Optional<Integer>getEngagedRestartSnoozeScheduleInDays()“Number of days a user can snooze Engaged Restart reminder notifications with valid range from 1 to 3 days.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.Optional<Integer>getFeatureUpdatesDeferralPeriodInDays()“Defer Feature Updates by these many days with valid range from 0 to 30 days.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.Optional<OffsetDateTime>getFeatureUpdatesPauseExpiryDateTime()“The Feature Updates Pause Expiry datetime.Optional<LocalDate>getFeatureUpdatesPauseStartDate()“The Feature Updates Pause start date.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.”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.Optional<Boolean>getFeatureUpdatesWillBeRolledBack()“When TRUE, rollback Feature Updates on the next device check in.Optional<WindowsUpdateInstallScheduleType>getInstallationSchedule()“The Installation Schedule.Optional<Boolean>getMicrosoftUpdateServiceAllowed()“When TRUE, allows Microsoft Update Service.Optional<Boolean>getPostponeRebootUntilAfterDeadline()“When TRUE the device should wait until deadline for rebooting outside of active hours.Optional<PrereleaseFeatures>getPrereleaseFeatures()“The Pre-Release Features.Optional<Integer>getQualityUpdatesDeferralPeriodInDays()“Defer Quality Updates by these many days with valid range from 0 to 30 days.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.Optional<OffsetDateTime>getQualityUpdatesPauseExpiryDateTime()“The Quality Updates Pause Expiry datetime.Optional<LocalDate>getQualityUpdatesPauseStartDate()“The Quality Updates Pause start date.Optional<OffsetDateTime>getQualityUpdatesRollbackStartDateTime()“The Quality Updates Rollback Start datetime.Optional<Boolean>getQualityUpdatesWillBeRolledBack()“When TRUE, rollback Quality Updates on the next device check in.Optional<Integer>getScheduleImminentRestartWarningInMinutes()“Specify the period for auto-restart imminent warning notifications.Optional<Integer>getScheduleRestartWarningInHours()“Specify the period for auto-restart warning reminder notifications.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.com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<WindowsUpdateNotificationDisplayOption>getUpdateNotificationLevel()“Specifies what Windows Update notifications users see.Optional<WindowsUpdateForBusinessUpdateWeeks>getUpdateWeeks()“Schedule the update installation on the weeks of the month.Optional<Enablement>getUserPauseAccess()“Specifies whether to enable end user’s access to pause software updates.Optional<Enablement>getUserWindowsUpdateScanAccess()“Specifies whether to disable user’s access to scan Windows Update.StringodataTypeName()WindowsUpdateForBusinessConfigurationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)WindowsUpdateForBusinessConfigurationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()WindowsUpdateForBusinessConfigurationwithAllowWindows11Upgrade(Boolean allowWindows11Upgrade)Returns an immutable copy ofthiswith just theallowWindows11Upgradefield changed.WindowsUpdateForBusinessConfigurationwithAutomaticUpdateMode(AutomaticUpdateMode automaticUpdateMode)Returns an immutable copy ofthiswith just theautomaticUpdateModefield changed.WindowsUpdateForBusinessConfigurationwithAutoRestartNotificationDismissal(AutoRestartNotificationDismissalMethod autoRestartNotificationDismissal)Returns an immutable copy ofthiswith just theautoRestartNotificationDismissalfield changed.WindowsUpdateForBusinessConfigurationwithBusinessReadyUpdatesOnly(WindowsUpdateType businessReadyUpdatesOnly)Returns an immutable copy ofthiswith just thebusinessReadyUpdatesOnlyfield changed.WindowsUpdateForBusinessConfigurationwithDeadlineForFeatureUpdatesInDays(Integer deadlineForFeatureUpdatesInDays)Returns an immutable copy ofthiswith just thedeadlineForFeatureUpdatesInDaysfield changed.WindowsUpdateForBusinessConfigurationwithDeadlineForQualityUpdatesInDays(Integer deadlineForQualityUpdatesInDays)Returns an immutable copy ofthiswith just thedeadlineForQualityUpdatesInDaysfield changed.WindowsUpdateForBusinessConfigurationwithDeadlineGracePeriodInDays(Integer deadlineGracePeriodInDays)Returns an immutable copy ofthiswith just thedeadlineGracePeriodInDaysfield changed.WindowsUpdateForBusinessConfigurationwithDeliveryOptimizationMode(WindowsDeliveryOptimizationMode deliveryOptimizationMode)Returns an immutable copy ofthiswith just thedeliveryOptimizationModefield changed.WindowsUpdateForBusinessConfigurationwithDriversExcluded(Boolean driversExcluded)Returns an immutable copy ofthiswith just thedriversExcludedfield changed.WindowsUpdateForBusinessConfigurationwithEngagedRestartDeadlineInDays(Integer engagedRestartDeadlineInDays)Returns an immutable copy ofthiswith just theengagedRestartDeadlineInDaysfield changed.WindowsUpdateForBusinessConfigurationwithEngagedRestartSnoozeScheduleInDays(Integer engagedRestartSnoozeScheduleInDays)Returns an immutable copy ofthiswith just theengagedRestartSnoozeScheduleInDaysfield changed.WindowsUpdateForBusinessConfigurationwithEngagedRestartTransitionScheduleInDays(Integer engagedRestartTransitionScheduleInDays)Returns an immutable copy ofthiswith just theengagedRestartTransitionScheduleInDaysfield changed.WindowsUpdateForBusinessConfigurationwithFeatureUpdatesDeferralPeriodInDays(Integer featureUpdatesDeferralPeriodInDays)Returns an immutable copy ofthiswith just thefeatureUpdatesDeferralPeriodInDaysfield changed.WindowsUpdateForBusinessConfigurationwithFeatureUpdatesPaused(Boolean featureUpdatesPaused)Returns an immutable copy ofthiswith just thefeatureUpdatesPausedfield changed.WindowsUpdateForBusinessConfigurationwithFeatureUpdatesPauseExpiryDateTime(OffsetDateTime featureUpdatesPauseExpiryDateTime)Returns an immutable copy ofthiswith just thefeatureUpdatesPauseExpiryDateTimefield changed.WindowsUpdateForBusinessConfigurationwithFeatureUpdatesPauseStartDate(LocalDate featureUpdatesPauseStartDate)Returns an immutable copy ofthiswith just thefeatureUpdatesPauseStartDatefield changed.WindowsUpdateForBusinessConfigurationwithFeatureUpdatesRollbackStartDateTime(OffsetDateTime featureUpdatesRollbackStartDateTime)Returns an immutable copy ofthiswith just thefeatureUpdatesRollbackStartDateTimefield changed.WindowsUpdateForBusinessConfigurationwithFeatureUpdatesRollbackWindowInDays(Integer featureUpdatesRollbackWindowInDays)Returns an immutable copy ofthiswith just thefeatureUpdatesRollbackWindowInDaysfield changed.WindowsUpdateForBusinessConfigurationwithFeatureUpdatesWillBeRolledBack(Boolean featureUpdatesWillBeRolledBack)Returns an immutable copy ofthiswith just thefeatureUpdatesWillBeRolledBackfield changed.WindowsUpdateForBusinessConfigurationwithInstallationSchedule(WindowsUpdateInstallScheduleType installationSchedule)Returns an immutable copy ofthiswith just theinstallationSchedulefield changed.WindowsUpdateForBusinessConfigurationwithMicrosoftUpdateServiceAllowed(Boolean microsoftUpdateServiceAllowed)Returns an immutable copy ofthiswith just themicrosoftUpdateServiceAllowedfield changed.WindowsUpdateForBusinessConfigurationwithPostponeRebootUntilAfterDeadline(Boolean postponeRebootUntilAfterDeadline)Returns an immutable copy ofthiswith just thepostponeRebootUntilAfterDeadlinefield changed.WindowsUpdateForBusinessConfigurationwithPrereleaseFeatures(PrereleaseFeatures prereleaseFeatures)Returns an immutable copy ofthiswith just theprereleaseFeaturesfield changed.WindowsUpdateForBusinessConfigurationwithQualityUpdatesDeferralPeriodInDays(Integer qualityUpdatesDeferralPeriodInDays)Returns an immutable copy ofthiswith just thequalityUpdatesDeferralPeriodInDaysfield changed.WindowsUpdateForBusinessConfigurationwithQualityUpdatesPaused(Boolean qualityUpdatesPaused)Returns an immutable copy ofthiswith just thequalityUpdatesPausedfield changed.WindowsUpdateForBusinessConfigurationwithQualityUpdatesPauseExpiryDateTime(OffsetDateTime qualityUpdatesPauseExpiryDateTime)Returns an immutable copy ofthiswith just thequalityUpdatesPauseExpiryDateTimefield changed.WindowsUpdateForBusinessConfigurationwithQualityUpdatesPauseStartDate(LocalDate qualityUpdatesPauseStartDate)Returns an immutable copy ofthiswith just thequalityUpdatesPauseStartDatefield changed.WindowsUpdateForBusinessConfigurationwithQualityUpdatesRollbackStartDateTime(OffsetDateTime qualityUpdatesRollbackStartDateTime)Returns an immutable copy ofthiswith just thequalityUpdatesRollbackStartDateTimefield changed.WindowsUpdateForBusinessConfigurationwithQualityUpdatesWillBeRolledBack(Boolean qualityUpdatesWillBeRolledBack)Returns an immutable copy ofthiswith just thequalityUpdatesWillBeRolledBackfield changed.WindowsUpdateForBusinessConfigurationwithScheduleImminentRestartWarningInMinutes(Integer scheduleImminentRestartWarningInMinutes)Returns an immutable copy ofthiswith just thescheduleImminentRestartWarningInMinutesfield changed.WindowsUpdateForBusinessConfigurationwithScheduleRestartWarningInHours(Integer scheduleRestartWarningInHours)Returns an immutable copy ofthiswith just thescheduleRestartWarningInHoursfield changed.WindowsUpdateForBusinessConfigurationwithSkipChecksBeforeRestart(Boolean skipChecksBeforeRestart)Returns an immutable copy ofthiswith just theskipChecksBeforeRestartfield changed.WindowsUpdateForBusinessConfigurationwithUnmappedField(String name, Object value)WindowsUpdateForBusinessConfigurationwithUpdateNotificationLevel(WindowsUpdateNotificationDisplayOption updateNotificationLevel)Returns an immutable copy ofthiswith just theupdateNotificationLevelfield changed.WindowsUpdateForBusinessConfigurationwithUpdateWeeks(WindowsUpdateForBusinessUpdateWeeks updateWeeks)Returns an immutable copy ofthiswith just theupdateWeeksfield changed.WindowsUpdateForBusinessConfigurationwithUserPauseAccess(Enablement userPauseAccess)Returns an immutable copy ofthiswith just theuserPauseAccessfield changed.WindowsUpdateForBusinessConfigurationwithUserWindowsUpdateScanAccess(Enablement userWindowsUpdateScanAccess)Returns an immutable copy ofthiswith just theuserWindowsUpdateScanAccessfield changed.-
Methods inherited from class odata.msgraph.client.entity.DeviceConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getOmaSettingPlainTextValue, getUserStatuses, getUserStatusOverview, getVersion, withAssignments, withCreatedDateTime, withDescription, withDeviceSettingStateSummaries, withDeviceStatuses, withDeviceStatusOverview, withDisplayName, withLastModifiedDateTime, withUserStatuses, withUserStatusOverview, withVersion
-
-
-
-
Field Detail
-
allowWindows11Upgrade
protected Boolean allowWindows11Upgrade
-
automaticUpdateMode
protected AutomaticUpdateMode automaticUpdateMode
-
autoRestartNotificationDismissal
protected AutoRestartNotificationDismissalMethod autoRestartNotificationDismissal
-
businessReadyUpdatesOnly
protected WindowsUpdateType businessReadyUpdatesOnly
-
deadlineForFeatureUpdatesInDays
protected Integer deadlineForFeatureUpdatesInDays
-
deadlineForQualityUpdatesInDays
protected Integer deadlineForQualityUpdatesInDays
-
deadlineGracePeriodInDays
protected Integer deadlineGracePeriodInDays
-
deliveryOptimizationMode
protected WindowsDeliveryOptimizationMode deliveryOptimizationMode
-
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
-
installationSchedule
protected WindowsUpdateInstallScheduleType installationSchedule
-
microsoftUpdateServiceAllowed
protected Boolean microsoftUpdateServiceAllowed
-
postponeRebootUntilAfterDeadline
protected Boolean postponeRebootUntilAfterDeadline
-
prereleaseFeatures
protected PrereleaseFeatures prereleaseFeatures
-
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
-
updateNotificationLevel
protected WindowsUpdateNotificationDisplayOption updateNotificationLevel
-
updateWeeks
protected WindowsUpdateForBusinessUpdateWeeks updateWeeks
-
userPauseAccess
protected Enablement userPauseAccess
-
userWindowsUpdateScanAccess
protected Enablement userWindowsUpdateScanAccess
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDeviceConfiguration
-
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:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDeviceConfiguration
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDeviceConfiguration
-
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 ofthiswith just theallowWindows11Upgradefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofallowWindows11Upgradefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowWindows11Upgradefield 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 ofthiswith just theautomaticUpdateModefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofautomaticUpdateModefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theautomaticUpdateModefield 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 ofthiswith just theautoRestartNotificationDismissalfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofautoRestartNotificationDismissalfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theautoRestartNotificationDismissalfield 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 ofthiswith just thebusinessReadyUpdatesOnlyfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofbusinessReadyUpdatesOnlyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thebusinessReadyUpdatesOnlyfield 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 ofthiswith just thedeadlineForFeatureUpdatesInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeadlineForFeatureUpdatesInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeadlineForFeatureUpdatesInDaysfield 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 ofthiswith just thedeadlineForQualityUpdatesInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeadlineForQualityUpdatesInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeadlineForQualityUpdatesInDaysfield 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 ofthiswith just thedeadlineGracePeriodInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeadlineGracePeriodInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeadlineGracePeriodInDaysfield 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 ofthiswith just thedeliveryOptimizationModefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofdeliveryOptimizationModefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeliveryOptimizationModefield 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 ofthiswith just thedriversExcludedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofdriversExcludedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedriversExcludedfield 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 ofthiswith just theengagedRestartDeadlineInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofengagedRestartDeadlineInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theengagedRestartDeadlineInDaysfield 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 ofthiswith just theengagedRestartSnoozeScheduleInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofengagedRestartSnoozeScheduleInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theengagedRestartSnoozeScheduleInDaysfield 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 ofthiswith just theengagedRestartTransitionScheduleInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofengagedRestartTransitionScheduleInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theengagedRestartTransitionScheduleInDaysfield 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 ofthiswith just thefeatureUpdatesDeferralPeriodInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 offeatureUpdatesDeferralPeriodInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesDeferralPeriodInDaysfield 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 ofthiswith just thefeatureUpdatesPausedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 offeatureUpdatesPausedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesPausedfield 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 ofthiswith just thefeatureUpdatesPauseExpiryDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 offeatureUpdatesPauseExpiryDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesPauseExpiryDateTimefield 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 ofthiswith just thefeatureUpdatesPauseStartDatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 offeatureUpdatesPauseStartDatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesPauseStartDatefield 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 ofthiswith just thefeatureUpdatesRollbackStartDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 offeatureUpdatesRollbackStartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesRollbackStartDateTimefield 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 ofthiswith just thefeatureUpdatesRollbackWindowInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 offeatureUpdatesRollbackWindowInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesRollbackWindowInDaysfield 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 ofthiswith just thefeatureUpdatesWillBeRolledBackfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 offeatureUpdatesWillBeRolledBackfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesWillBeRolledBackfield 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 ofthiswith just theinstallationSchedulefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofinstallationSchedulefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstallationSchedulefield 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 ofthiswith just themicrosoftUpdateServiceAllowedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofmicrosoftUpdateServiceAllowedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themicrosoftUpdateServiceAllowedfield 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 ofthiswith just thepostponeRebootUntilAfterDeadlinefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofpostponeRebootUntilAfterDeadlinefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepostponeRebootUntilAfterDeadlinefield 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 ofthiswith just theprereleaseFeaturesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofprereleaseFeaturesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theprereleaseFeaturesfield 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 ofthiswith just thequalityUpdatesDeferralPeriodInDaysfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofqualityUpdatesDeferralPeriodInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesDeferralPeriodInDaysfield 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 ofthiswith just thequalityUpdatesPausedfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofqualityUpdatesPausedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesPausedfield 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 ofthiswith just thequalityUpdatesPauseExpiryDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofqualityUpdatesPauseExpiryDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesPauseExpiryDateTimefield 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 ofthiswith just thequalityUpdatesPauseStartDatefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofqualityUpdatesPauseStartDatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesPauseStartDatefield 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 ofthiswith just thequalityUpdatesRollbackStartDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofqualityUpdatesRollbackStartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesRollbackStartDateTimefield 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 ofthiswith just thequalityUpdatesWillBeRolledBackfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofqualityUpdatesWillBeRolledBackfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesWillBeRolledBackfield 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 ofthiswith just thescheduleImminentRestartWarningInMinutesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofscheduleImminentRestartWarningInMinutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescheduleImminentRestartWarningInMinutesfield 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 ofthiswith just thescheduleRestartWarningInHoursfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofscheduleRestartWarningInHoursfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescheduleRestartWarningInHoursfield 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 ofthiswith just theskipChecksBeforeRestartfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofskipChecksBeforeRestartfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theskipChecksBeforeRestartfield 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 ofthiswith just theupdateNotificationLevelfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofupdateNotificationLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupdateNotificationLevelfield 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 ofthiswith just theupdateWeeksfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofupdateWeeksfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupdateWeeksfield 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 ofthiswith just theuserPauseAccessfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. 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 ofuserPauseAccessfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserPauseAccessfield 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 ofthiswith just theuserWindowsUpdateScanAccessfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofuserWindowsUpdateScanAccessfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserWindowsUpdateScanAccessfield changed
-
withUnmappedField
public WindowsUpdateForBusinessConfiguration withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDeviceConfiguration
-
patch
public WindowsUpdateForBusinessConfiguration patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDeviceConfiguration- Returns:
- a copy of
thiswith 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 ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDeviceConfiguration- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classDeviceConfiguration
-
-