Package odata.msgraph.client.entity
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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsUpdateForBusinessConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description protected AutomaticUpdateModeautomaticUpdateModeprotected WindowsUpdateTypebusinessReadyUpdatesOnlyprotected WindowsDeliveryOptimizationModedeliveryOptimizationModeprotected BooleandriversExcludedprotected IntegerfeatureUpdatesDeferralPeriodInDaysprotected BooleanfeatureUpdatesPausedprotected OffsetDateTimefeatureUpdatesPauseExpiryDateTimeprotected WindowsUpdateInstallScheduleTypeinstallationScheduleprotected BooleanmicrosoftUpdateServiceAllowedprotected PrereleaseFeaturesprereleaseFeaturesprotected IntegerqualityUpdatesDeferralPeriodInDaysprotected BooleanqualityUpdatesPausedprotected OffsetDateTimequalityUpdatesPauseExpiryDateTime-
Fields inherited from class odata.msgraph.client.entity.DeviceConfiguration
createdDateTime, description, displayName, lastModifiedDateTime, 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<AutomaticUpdateMode>getAutomaticUpdateMode()“Automatic update mode.”Optional<WindowsUpdateType>getBusinessReadyUpdatesOnly()“Determines which branch devices will receive their updates from”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<WindowsDeliveryOptimizationMode>getDeliveryOptimizationMode()“Delivery Optimization Mode”Optional<Boolean>getDriversExcluded()“Exclude Windows update Drivers”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<WindowsUpdateInstallScheduleType>getInstallationSchedule()“Installation schedule”Optional<Boolean>getMicrosoftUpdateServiceAllowed()“Allow Microsoft Update Service”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”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()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()WindowsUpdateForBusinessConfigurationwithAutomaticUpdateMode(AutomaticUpdateMode automaticUpdateMode)Returns an immutable copy ofthiswith just theautomaticUpdateModefield changed.WindowsUpdateForBusinessConfigurationwithBusinessReadyUpdatesOnly(WindowsUpdateType businessReadyUpdatesOnly)Returns an immutable copy ofthiswith just thebusinessReadyUpdatesOnlyfield changed.WindowsUpdateForBusinessConfigurationwithDeliveryOptimizationMode(WindowsDeliveryOptimizationMode deliveryOptimizationMode)Returns an immutable copy ofthiswith just thedeliveryOptimizationModefield changed.WindowsUpdateForBusinessConfigurationwithDriversExcluded(Boolean driversExcluded)Returns an immutable copy ofthiswith just thedriversExcludedfield 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.WindowsUpdateForBusinessConfigurationwithInstallationSchedule(WindowsUpdateInstallScheduleType installationSchedule)Returns an immutable copy ofthiswith just theinstallationSchedulefield changed.WindowsUpdateForBusinessConfigurationwithMicrosoftUpdateServiceAllowed(Boolean microsoftUpdateServiceAllowed)Returns an immutable copy ofthiswith just themicrosoftUpdateServiceAllowedfield 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.WindowsUpdateForBusinessConfigurationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.entity.DeviceConfiguration
assign, getAssignments, getCreatedDateTime, getDescription, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getLastModifiedDateTime, getUserStatuses, getUserStatusOverview, getVersion, withCreatedDateTime, withDescription, withDisplayName, withLastModifiedDateTime, withVersion
-
-
-
-
Field Detail
-
automaticUpdateMode
protected AutomaticUpdateMode automaticUpdateMode
-
businessReadyUpdatesOnly
protected WindowsUpdateType businessReadyUpdatesOnly
-
deliveryOptimizationMode
protected WindowsDeliveryOptimizationMode deliveryOptimizationMode
-
driversExcluded
protected Boolean driversExcluded
-
featureUpdatesDeferralPeriodInDays
protected Integer featureUpdatesDeferralPeriodInDays
-
featureUpdatesPaused
protected Boolean featureUpdatesPaused
-
featureUpdatesPauseExpiryDateTime
protected OffsetDateTime featureUpdatesPauseExpiryDateTime
-
installationSchedule
protected WindowsUpdateInstallScheduleType installationSchedule
-
microsoftUpdateServiceAllowed
protected Boolean microsoftUpdateServiceAllowed
-
prereleaseFeatures
protected PrereleaseFeatures prereleaseFeatures
-
qualityUpdatesDeferralPeriodInDays
protected Integer qualityUpdatesDeferralPeriodInDays
-
qualityUpdatesPaused
protected Boolean qualityUpdatesPaused
-
qualityUpdatesPauseExpiryDateTime
protected OffsetDateTime qualityUpdatesPauseExpiryDateTime
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
withUnmappedField
public WindowsUpdateForBusinessConfiguration withUnmappedField(String name, String 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
-
-