Interface MonthlySchedule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonthlySchedule.Builder,
,MonthlySchedule> SdkBuilder<MonthlySchedule.Builder,
,MonthlySchedule> SdkPojo
- Enclosing class:
MonthlySchedule
@Mutable
@NotThreadSafe
public static interface MonthlySchedule.Builder
extends SdkPojo, CopyableBuilder<MonthlySchedule.Builder,MonthlySchedule>
-
Method Summary
Modifier and TypeMethodDescriptionThe monthly schedule's day.The monthly schedule's day.default MonthlySchedule.Builder
startTime
(Consumer<Time.Builder> startTime) The monthly schedule's start time.The monthly schedule's 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, sdkFieldNameToField, sdkFields
-
Method Details
-
day
The monthly schedule's day.
- Parameters:
day
- The monthly schedule's day.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
day
The monthly schedule's day.
- Parameters:
day
- The monthly schedule's day.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The monthly schedule's start time.
- Parameters:
startTime
- The monthly schedule's start time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The monthly schedule's 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:
-