Class WindowsKioskForceUpdateSchedule.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.complex.WindowsKioskForceUpdateSchedule.Builder
-
- Enclosing class:
- WindowsKioskForceUpdateSchedule
public static final class WindowsKioskForceUpdateSchedule.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowsKioskForceUpdateSchedulebuild()WindowsKioskForceUpdateSchedule.BuilderdayofMonth(Integer dayofMonth)“Day of month.WindowsKioskForceUpdateSchedule.BuilderdayofWeek(DayOfWeek dayofWeek)“Day of week.”WindowsKioskForceUpdateSchedule.Builderrecurrence(Windows10AppsUpdateRecurrence recurrence)“Recurrence schedule.”WindowsKioskForceUpdateSchedule.BuilderrunImmediatelyIfAfterStartDateTime(Boolean runImmediatelyIfAfterStartDateTime)“If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence.”WindowsKioskForceUpdateSchedule.BuilderstartDateTime(OffsetDateTime startDateTime)“The start time for the force restart.”
-
-
-
Method Detail
-
dayofMonth
public WindowsKioskForceUpdateSchedule.Builder dayofMonth(Integer dayofMonth)
“Day of month. Valid values 1 to 31”- Parameters:
dayofMonth- value ofdayofMonthproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
dayofWeek
public WindowsKioskForceUpdateSchedule.Builder dayofWeek(DayOfWeek dayofWeek)
“Day of week.”- Parameters:
dayofWeek- value ofdayofWeekproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
recurrence
public WindowsKioskForceUpdateSchedule.Builder recurrence(Windows10AppsUpdateRecurrence recurrence)
“Recurrence schedule.”- Parameters:
recurrence- value ofrecurrenceproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
runImmediatelyIfAfterStartDateTime
public WindowsKioskForceUpdateSchedule.Builder runImmediatelyIfAfterStartDateTime(Boolean runImmediatelyIfAfterStartDateTime)
“If true, runs the task immediately if StartDateTime is in the past, else, runs at the next recurrence.”- Parameters:
runImmediatelyIfAfterStartDateTime- value ofrunImmediatelyIfAfterStartDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
startDateTime
public WindowsKioskForceUpdateSchedule.Builder startDateTime(OffsetDateTime startDateTime)
“The start time for the force restart.”- Parameters:
startDateTime- value ofstartDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public WindowsKioskForceUpdateSchedule build()
-
-