Interface Schedule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Schedule.Builder,Schedule>,SdkBuilder<Schedule.Builder,Schedule>,SdkPojo
- Enclosing class:
- Schedule
public static interface Schedule.Builder extends SdkPojo, CopyableBuilder<Schedule.Builder,Schedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Schedule.Builderdaily(Consumer<DailySchedule.Builder> daily)The schedule's daily.Schedule.Builderdaily(DailySchedule daily)The schedule's daily.default Schedule.Buildermonthly(Consumer<MonthlySchedule.Builder> monthly)The schedule's monthly.Schedule.Buildermonthly(MonthlySchedule monthly)The schedule's monthly.default Schedule.BuilderoneTime(Consumer<OneTimeSchedule.Builder> oneTime)The schedule's one time.Schedule.BuilderoneTime(OneTimeSchedule oneTime)The schedule's one time.default Schedule.Builderweekly(Consumer<WeeklySchedule.Builder> weekly)The schedule's weekly.Schedule.Builderweekly(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, sdkFields
-
-
-
-
Method Detail
-
daily
Schedule.Builder daily(DailySchedule 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
default Schedule.Builder daily(Consumer<DailySchedule.Builder> daily)
The schedule's daily.
This is a convenience method that creates an instance of theDailySchedule.Builderavoiding the need to create one manually viaDailySchedule.builder().When the
Consumercompletes,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:
daily(DailySchedule)
-
monthly
Schedule.Builder monthly(MonthlySchedule 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
default Schedule.Builder monthly(Consumer<MonthlySchedule.Builder> monthly)
The schedule's monthly.
This is a convenience method that creates an instance of theMonthlySchedule.Builderavoiding the need to create one manually viaMonthlySchedule.builder().When the
Consumercompletes,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:
monthly(MonthlySchedule)
-
oneTime
Schedule.Builder oneTime(OneTimeSchedule 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
default Schedule.Builder oneTime(Consumer<OneTimeSchedule.Builder> oneTime)
The schedule's one time.
This is a convenience method that creates an instance of theOneTimeSchedule.Builderavoiding the need to create one manually viaOneTimeSchedule.builder().When the
Consumercompletes,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:
oneTime(OneTimeSchedule)
-
weekly
Schedule.Builder weekly(WeeklySchedule 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
default Schedule.Builder weekly(Consumer<WeeklySchedule.Builder> weekly)
The schedule's weekly.
This is a convenience method that creates an instance of theWeeklySchedule.Builderavoiding the need to create one manually viaWeeklySchedule.builder().When the
Consumercompletes,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:
weekly(WeeklySchedule)
-
-