public static interface OffPeakWindow.Builder extends SdkPojo, CopyableBuilder<OffPeakWindow.Builder,OffPeakWindow>
| Modifier and Type | Method and Description |
|---|---|
default OffPeakWindow.Builder |
windowStartTime(Consumer<WindowStartTime.Builder> windowStartTime)
A custom start time for the off-peak window, in Coordinated Universal Time (UTC).
|
OffPeakWindow.Builder |
windowStartTime(WindowStartTime windowStartTime)
A custom start time for the off-peak window, in Coordinated Universal Time (UTC).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOffPeakWindow.Builder windowStartTime(WindowStartTime windowStartTime)
A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.
windowStartTime - A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length
will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC
as a start time, the end time will automatically be set to 9:00 A.M.default OffPeakWindow.Builder windowStartTime(Consumer<WindowStartTime.Builder> windowStartTime)
A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.
This is a convenience method that creates an instance of theWindowStartTime.Builder avoiding the
need to create one manually via WindowStartTime.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to windowStartTime(WindowStartTime).
windowStartTime - a consumer that will call methods on WindowStartTime.BuilderwindowStartTime(WindowStartTime)Copyright © 2023. All rights reserved.