Class WindowsUpdateRolloutSettings
- java.lang.Object
-
- odata.msgraph.client.beta.complex.WindowsUpdateRolloutSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class WindowsUpdateRolloutSettings extends Object implements com.github.davidmoten.odata.client.ODataType
“A complex type to store the windows update rollout settings including offer start date time, offer end date time, and days between each set of offers.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsUpdateRolloutSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringodataTypeprotected OffsetDateTimeofferEndDateTimeInUTCprotected IntegerofferIntervalInDaysprotected OffsetDateTimeofferStartDateTimeInUTCprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWindowsUpdateRolloutSettings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowsUpdateRolloutSettings.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<OffsetDateTime>getOfferEndDateTimeInUTC()“The feature update's ending of release date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”Optional<Integer>getOfferIntervalInDays()“The number of day(s) between each set of offers to be set, updated, and displayed for a feature update profile, for example: if OfferStartDateTimeInUTC is 2020-06-09T10:00:00Z, and OfferIntervalInDays is 1, then the next two sets of offers will be made consecutively on 2020-06-10T10:00:00Z (next day at the same specified time) and 2020-06-11T10:00:00Z (next next day at the same specified time) with 1 day in between each set of offers.”Optional<OffsetDateTime>getOfferStartDateTimeInUTC()“The feature update's starting date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()WindowsUpdateRolloutSettingswithOfferEndDateTimeInUTC(OffsetDateTime offerEndDateTimeInUTC)Returns an immutable copy ofthiswith just theofferEndDateTimeInUTCfield changed.WindowsUpdateRolloutSettingswithOfferIntervalInDays(Integer offerIntervalInDays)Returns an immutable copy ofthiswith just theofferIntervalInDaysfield changed.WindowsUpdateRolloutSettingswithOfferStartDateTimeInUTC(OffsetDateTime offerStartDateTimeInUTC)Returns an immutable copy ofthiswith just theofferStartDateTimeInUTCfield changed.WindowsUpdateRolloutSettingswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
offerEndDateTimeInUTC
protected OffsetDateTime offerEndDateTimeInUTC
-
offerIntervalInDays
protected Integer offerIntervalInDays
-
offerStartDateTimeInUTC
protected OffsetDateTime offerStartDateTimeInUTC
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getOfferEndDateTimeInUTC
public Optional<OffsetDateTime> getOfferEndDateTimeInUTC()
“The feature update's ending of release date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”- Returns:
- property offerEndDateTimeInUTC
-
withOfferEndDateTimeInUTC
public WindowsUpdateRolloutSettings withOfferEndDateTimeInUTC(OffsetDateTime offerEndDateTimeInUTC)
Returns an immutable copy ofthiswith just theofferEndDateTimeInUTCfield 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 update's ending of release date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”
- Parameters:
offerEndDateTimeInUTC- new value ofofferEndDateTimeInUTCfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theofferEndDateTimeInUTCfield changed
-
getOfferIntervalInDays
public Optional<Integer> getOfferIntervalInDays()
“The number of day(s) between each set of offers to be set, updated, and displayed for a feature update profile, for example: if OfferStartDateTimeInUTC is 2020-06-09T10:00:00Z, and OfferIntervalInDays is 1, then the next two sets of offers will be made consecutively on 2020-06-10T10:00:00Z (next day at the same specified time) and 2020-06-11T10:00:00Z (next next day at the same specified time) with 1 day in between each set of offers.”- Returns:
- property offerIntervalInDays
-
withOfferIntervalInDays
public WindowsUpdateRolloutSettings withOfferIntervalInDays(Integer offerIntervalInDays)
Returns an immutable copy ofthiswith just theofferIntervalInDaysfield 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 day(s) between each set of offers to be set, updated, and displayed for a feature update profile, for example: if OfferStartDateTimeInUTC is 2020-06-09T10:00:00Z, and OfferIntervalInDays is 1, then the next two sets of offers will be made consecutively on 2020-06-10T10:00:00Z (next day at the same specified time) and 2020-06-11T10:00:00Z (next next day at the same specified time) with 1 day in between each set of offers.”
- Parameters:
offerIntervalInDays- new value ofofferIntervalInDaysfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theofferIntervalInDaysfield changed
-
getOfferStartDateTimeInUTC
public Optional<OffsetDateTime> getOfferStartDateTimeInUTC()
“The feature update's starting date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”- Returns:
- property offerStartDateTimeInUTC
-
withOfferStartDateTimeInUTC
public WindowsUpdateRolloutSettings withOfferStartDateTimeInUTC(OffsetDateTime offerStartDateTimeInUTC)
Returns an immutable copy ofthiswith just theofferStartDateTimeInUTCfield 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 update's starting date and time to be set, update, and displayed for a feature Update profile for example: 2020-06-09T10:00:00Z.”
- Parameters:
offerStartDateTimeInUTC- new value ofofferStartDateTimeInUTCfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theofferStartDateTimeInUTCfield changed
-
withUnmappedField
public WindowsUpdateRolloutSettings withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static WindowsUpdateRolloutSettings.Builder builder()
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
-
-