Class WindowsUpdateForBusinessConfiguration
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DeviceConfiguration
-
- odata.msgraph.client.beta.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsUpdateForBusinessConfiguration.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.DeviceConfiguration
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, version
-
Fields inherited from class odata.msgraph.client.beta.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).com.github.davidmoten.odata.client.ActionRequestNoReturnextendFeatureUpdatesPause()com.github.davidmoten.odata.client.ActionRequestNoReturnextendQualityUpdatesPause()Optional<Boolean>getAllowWindows11Upgrade()“Allow eligible Windows 10 devices to upgrade to the latest version of Windows 11 .”Optional<AutomaticUpdateMode>getAutomaticUpdateMode()“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 2 to 30 days”Optional<Integer>getDeadlineForQualityUpdatesInDays()“Number of days before quality updates are installed automatically with valid range from 2 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()“Delivery Optimization Mode”WindowsUpdateStateCollectionRequestgetDeviceUpdateStates()“Windows update for business configuration device states.Optional<Boolean>getDriversExcluded()“Exclude 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”Optional<Boolean>getFeatureUpdatesPaused()“Pause Feature Updates”Optional<OffsetDateTime>getFeatureUpdatesPauseExpiryDateTime()“Feature Updates Pause Expiry datetime”Optional<LocalDate>getFeatureUpdatesPauseStartDate()“Feature Updates Pause start date.Optional<OffsetDateTime>getFeatureUpdatesRollbackStartDateTime()“Feature Updates Rollback Start datetime”Optional<Integer>getFeatureUpdatesRollbackWindowInDays()“The number of days after a Feature Update for which a rollback is valid”Optional<Boolean>getFeatureUpdatesWillBeRolledBack()“Specifies whether to rollback Feature Updates on the next device check in”Optional<WindowsUpdateInstallScheduleType>getInstallationSchedule()“Installation schedule”Optional<Boolean>getMicrosoftUpdateServiceAllowed()“Allow Microsoft Update Service”Optional<Boolean>getPostponeRebootUntilAfterDeadline()“Specifies if 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”Optional<Boolean>getQualityUpdatesPaused()“Pause Quality Updates”Optional<OffsetDateTime>getQualityUpdatesPauseExpiryDateTime()“Quality Updates Pause Expiry datetime”Optional<LocalDate>getQualityUpdatesPauseStartDate()“Quality Updates Pause start date.Optional<OffsetDateTime>getQualityUpdatesRollbackStartDateTime()“Quality Updates Rollback Start datetime”Optional<Boolean>getQualityUpdatesWillBeRolledBack()“Specifies whether to 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()“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.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<WindowsUpdateNotificationDisplayOption>getUpdateNotificationLevel()“Specifies what Windows Update notifications users see.”Optional<WindowsUpdateForBusinessUpdateWeeks>getUpdateWeeks()“Scheduled 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, String 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.beta.entity.DeviceConfiguration
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getOmaSettingPlainTextValue, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withRoleScopeTagIds, withSupportsScopeTags, 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()
“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 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.“Allow eligible Windows 10 devices to upgrade to the latest version of Windows 11 .”
- Parameters:
allowWindows11Upgrade- new value ofallowWindows11Upgradefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theallowWindows11Upgradefield changed
-
getAutomaticUpdateMode
public Optional<AutomaticUpdateMode> getAutomaticUpdateMode()
“Automatic update mode.”- 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.“Automatic update mode.”
- 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”- 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”
- 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”- 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”
- 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 2 to 30 days”- 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 2 to 30 days”
- 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 2 to 30 days”- 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 2 to 30 days”
- 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”- 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”
- Parameters:
deadlineGracePeriodInDays- new value ofdeadlineGracePeriodInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeadlineGracePeriodInDaysfield changed
-
getDeliveryOptimizationMode
public Optional<WindowsDeliveryOptimizationMode> getDeliveryOptimizationMode()
“Delivery Optimization Mode”- 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.“Delivery Optimization Mode”
- Parameters:
deliveryOptimizationMode- new value ofdeliveryOptimizationModefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeliveryOptimizationModefield changed
-
getDriversExcluded
public Optional<Boolean> getDriversExcluded()
“Exclude Windows update Drivers”- 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.“Exclude Windows update Drivers”
- 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”- 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”
- 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”- 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”
- 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”- 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”
- 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”- 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”
- Parameters:
featureUpdatesDeferralPeriodInDays- new value offeatureUpdatesDeferralPeriodInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesDeferralPeriodInDaysfield changed
-
getFeatureUpdatesPaused
public Optional<Boolean> getFeatureUpdatesPaused()
“Pause Feature Updates”- 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.“Pause Feature Updates”
- Parameters:
featureUpdatesPaused- new value offeatureUpdatesPausedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesPausedfield changed
-
getFeatureUpdatesPauseExpiryDateTime
public Optional<OffsetDateTime> getFeatureUpdatesPauseExpiryDateTime()
“Feature Updates Pause Expiry datetime”- 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.“Feature Updates Pause Expiry datetime”
- Parameters:
featureUpdatesPauseExpiryDateTime- new value offeatureUpdatesPauseExpiryDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesPauseExpiryDateTimefield 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 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.“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 offeatureUpdatesPauseStartDatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesPauseStartDatefield changed
-
getFeatureUpdatesRollbackStartDateTime
public Optional<OffsetDateTime> getFeatureUpdatesRollbackStartDateTime()
“Feature Updates Rollback Start datetime”- 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.“Feature Updates Rollback Start datetime”
- 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”- 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”
- Parameters:
featureUpdatesRollbackWindowInDays- new value offeatureUpdatesRollbackWindowInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesRollbackWindowInDaysfield 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 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.“Specifies whether to rollback Feature Updates on the next device check in”
- Parameters:
featureUpdatesWillBeRolledBack- new value offeatureUpdatesWillBeRolledBackfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefeatureUpdatesWillBeRolledBackfield changed
-
getInstallationSchedule
public Optional<WindowsUpdateInstallScheduleType> getInstallationSchedule()
“Installation schedule”- 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.“Installation schedule”
- Parameters:
installationSchedule- new value ofinstallationSchedulefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstallationSchedulefield changed
-
getMicrosoftUpdateServiceAllowed
public Optional<Boolean> getMicrosoftUpdateServiceAllowed()
“Allow Microsoft Update Service”- 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.“Allow Microsoft Update Service”
- Parameters:
microsoftUpdateServiceAllowed- new value ofmicrosoftUpdateServiceAllowedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themicrosoftUpdateServiceAllowedfield 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 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.“Specifies if the device should wait until deadline for rebooting outside of active hours”
- 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.”- 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.”
- 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”- 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”
- Parameters:
qualityUpdatesDeferralPeriodInDays- new value ofqualityUpdatesDeferralPeriodInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesDeferralPeriodInDaysfield changed
-
getQualityUpdatesPaused
public Optional<Boolean> getQualityUpdatesPaused()
“Pause Quality Updates”- 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.“Pause Quality Updates”
- Parameters:
qualityUpdatesPaused- new value ofqualityUpdatesPausedfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesPausedfield changed
-
getQualityUpdatesPauseExpiryDateTime
public Optional<OffsetDateTime> getQualityUpdatesPauseExpiryDateTime()
“Quality Updates Pause Expiry datetime”- 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.“Quality Updates Pause Expiry datetime”
- Parameters:
qualityUpdatesPauseExpiryDateTime- new value ofqualityUpdatesPauseExpiryDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesPauseExpiryDateTimefield 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 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.“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 ofqualityUpdatesPauseStartDatefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesPauseStartDatefield changed
-
getQualityUpdatesRollbackStartDateTime
public Optional<OffsetDateTime> getQualityUpdatesRollbackStartDateTime()
“Quality Updates Rollback Start datetime”- 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.“Quality Updates Rollback Start datetime”
- Parameters:
qualityUpdatesRollbackStartDateTime- new value ofqualityUpdatesRollbackStartDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thequalityUpdatesRollbackStartDateTimefield 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 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.“Specifies whether to rollback Quality Updates on the next device check in”
- 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).”- 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).”
- 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).”- 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).”
- Parameters:
scheduleRestartWarningInHours- new value ofscheduleRestartWarningInHoursfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescheduleRestartWarningInHoursfield 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 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.“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 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.”- 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.”
- Parameters:
updateNotificationLevel- new value ofupdateNotificationLevelfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupdateNotificationLevelfield changed
-
getUpdateWeeks
public Optional<WindowsUpdateForBusinessUpdateWeeks> getUpdateWeeks()
“Scheduled the update installation on the weeks of the month”- 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.“Scheduled the update installation on the weeks of the month”
- 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.”- 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.”
- 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.”- 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.”
- Parameters:
userWindowsUpdateScanAccess- new value ofuserWindowsUpdateScanAccessfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theuserWindowsUpdateScanAccessfield changed
-
withUnmappedField
public WindowsUpdateForBusinessConfiguration withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDeviceConfiguration
-
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:
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
-
extendFeatureUpdatesPause
public com.github.davidmoten.odata.client.ActionRequestNoReturn extendFeatureUpdatesPause()
-
extendQualityUpdatesPause
public com.github.davidmoten.odata.client.ActionRequestNoReturn extendQualityUpdatesPause()
-
toString
public String toString()
- Overrides:
toStringin classDeviceConfiguration
-
-