Interface DailySchedule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DailySchedule.Builder,
,DailySchedule> SdkBuilder<DailySchedule.Builder,
,DailySchedule> SdkPojo
- Enclosing class:
DailySchedule
public static interface DailySchedule.Builder
extends SdkPojo, CopyableBuilder<DailySchedule.Builder,DailySchedule>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DailySchedule.Builder
startTime
(Consumer<Time.Builder> startTime) The schedule start time.The schedule start time.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, sdkFields
-
Method Details
-
startTime
The schedule start time.
- Parameters:
startTime
- The schedule start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The schedule start time.
This is a convenience method that creates an instance of theTime.Builder
avoiding the need to create one manually viaTime.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartTime(Time)
.- Parameters:
startTime
- a consumer that will call methods onTime.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-