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.Builderdaily(Consumer<DailySchedule.Builder> daily) The schedule's daily.daily(DailySchedule daily) The schedule's daily.default Schedule.Buildermonthly(Consumer<MonthlySchedule.Builder> monthly) The schedule's monthly.monthly(MonthlySchedule monthly) The schedule's monthly.default Schedule.BuilderoneTime(Consumer<OneTimeSchedule.Builder> oneTime) The schedule's one time.oneTime(OneTimeSchedule oneTime) The schedule's one time.default Schedule.Builderweekly(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.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:
-
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.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:
-
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.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:
-
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.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:
-