Interface Recurrence.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Recurrence.Builder,,Recurrence> SdkBuilder<Recurrence.Builder,,Recurrence> SdkPojo
- Enclosing class:
Recurrence
@Mutable
@NotThreadSafe
public static interface Recurrence.Builder
extends SdkPojo, CopyableBuilder<Recurrence.Builder,Recurrence>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Recurrence.Builderdaily(Consumer<DailyRecurrence.Builder> daily) The window recurs every daydaily(DailyRecurrence daily) The window recurs every daydefault Recurrence.Buildermonthly(Consumer<MonthlyRecurrence.Builder> monthly) The window recurs once per monthmonthly(MonthlyRecurrence monthly) The window recurs once per monthdefault Recurrence.Builderweekly(Consumer<WeeklyRecurrence.Builder> weekly) The window recurs once per weekweekly(WeeklyRecurrence weekly) The window recurs once per weekMethods 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
-
daily
The window recurs every day
- Parameters:
daily- The window recurs every day- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
daily
The window recurs every day
This is a convenience method that creates an instance of theDailyRecurrence.Builderavoiding the need to create one manually viaDailyRecurrence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todaily(DailyRecurrence).- Parameters:
daily- a consumer that will call methods onDailyRecurrence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
weekly
The window recurs once per week
- Parameters:
weekly- The window recurs once per week- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weekly
The window recurs once per week
This is a convenience method that creates an instance of theWeeklyRecurrence.Builderavoiding the need to create one manually viaWeeklyRecurrence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toweekly(WeeklyRecurrence).- Parameters:
weekly- a consumer that will call methods onWeeklyRecurrence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
monthly
The window recurs once per month
- Parameters:
monthly- The window recurs once per month- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthly
The window recurs once per month
This is a convenience method that creates an instance of theMonthlyRecurrence.Builderavoiding the need to create one manually viaMonthlyRecurrence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonthly(MonthlyRecurrence).- Parameters:
monthly- a consumer that will call methods onMonthlyRecurrence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-