Interface Schedule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Schedule.Builder,
,Schedule> SdkBuilder<Schedule.Builder,
,Schedule> SdkPojo
- Enclosing class:
Schedule
@Mutable
@NotThreadSafe
public static interface Schedule.Builder
extends SdkPojo, CopyableBuilder<Schedule.Builder,Schedule>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Schedule.Builder
daily
(Consumer<DailySchedule.Builder> daily) The schedule's daily.daily
(DailySchedule daily) The schedule's daily.default Schedule.Builder
monthly
(Consumer<MonthlySchedule.Builder> monthly) The schedule's monthly.monthly
(MonthlySchedule monthly) The schedule's monthly.default Schedule.Builder
oneTime
(Consumer<OneTimeSchedule.Builder> oneTime) The schedule's one time.oneTime
(OneTimeSchedule oneTime) The schedule's one time.default Schedule.Builder
weekly
(Consumer<WeeklySchedule.Builder> weekly) The schedule's weekly.weekly
(WeeklySchedule weekly) The schedule's weekly.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
-
daily
The schedule's daily.
- Parameters:
daily
- The schedule's daily.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
daily
The schedule's daily.
This is a convenience method that creates an instance of theDailySchedule.Builder
avoiding the need to create one manually viaDailySchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todaily(DailySchedule)
.- Parameters:
daily
- a consumer that will call methods onDailySchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monthly
The schedule's monthly.
- Parameters:
monthly
- The schedule's monthly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthly
The schedule's monthly.
This is a convenience method that creates an instance of theMonthlySchedule.Builder
avoiding the need to create one manually viaMonthlySchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonthly(MonthlySchedule)
.- Parameters:
monthly
- a consumer that will call methods onMonthlySchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oneTime
The schedule's one time.
- Parameters:
oneTime
- The schedule's one time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oneTime
The schedule's one time.
This is a convenience method that creates an instance of theOneTimeSchedule.Builder
avoiding the need to create one manually viaOneTimeSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooneTime(OneTimeSchedule)
.- Parameters:
oneTime
- a consumer that will call methods onOneTimeSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
weekly
The schedule's weekly.
- Parameters:
weekly
- The schedule's weekly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weekly
The schedule's weekly.
This is a convenience method that creates an instance of theWeeklySchedule.Builder
avoiding the need to create one manually viaWeeklySchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toweekly(WeeklySchedule)
.- Parameters:
weekly
- a consumer that will call methods onWeeklySchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-