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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DailySchedule.BuilderstartTime(Consumer<Time.Builder> startTime)The schedule start time.DailySchedule.BuilderstartTime(Time startTime)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 Detail
-
startTime
DailySchedule.Builder startTime(Time 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
default DailySchedule.Builder startTime(Consumer<Time.Builder> startTime)
The schedule start time.
This is a convenience method that creates an instance of theTime.Builderavoiding the need to create one manually viaTime.builder().When the
Consumercompletes,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:
startTime(Time)
-
-