Interface OffPeakWindow.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OffPeakWindow.Builder,OffPeakWindow>,SdkBuilder<OffPeakWindow.Builder,OffPeakWindow>,SdkPojo
- Enclosing class:
- OffPeakWindow
@Mutable @NotThreadSafe public static interface OffPeakWindow.Builder extends SdkPojo, CopyableBuilder<OffPeakWindow.Builder,OffPeakWindow>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OffPeakWindow.BuilderwindowStartTime(Consumer<WindowStartTime.Builder> windowStartTime)A custom start time for the off-peak window, in Coordinated Universal Time (UTC).OffPeakWindow.BuilderwindowStartTime(WindowStartTime windowStartTime)A custom start time for the off-peak window, in Coordinated Universal Time (UTC).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
windowStartTime
OffPeakWindow.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowStartTime
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.Builderavoiding the need to create one manually viaWindowStartTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towindowStartTime(WindowStartTime).- Parameters:
windowStartTime- a consumer that will call methods onWindowStartTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
windowStartTime(WindowStartTime)
-
-