Interface SyncSchedule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SyncSchedule.Builder,,SyncSchedule> SdkBuilder<SyncSchedule.Builder,,SyncSchedule> SdkPojo
- Enclosing class:
SyncSchedule
-
Method Summary
Modifier and TypeMethodDescriptiondefault SyncSchedule.Builderdaily(Consumer<DailySchedule.Builder> daily) A daily sync that runs once a day at a system-chosen off-peak time.daily(DailySchedule daily) A daily sync that runs once a day at a system-chosen off-peak time.default SyncSchedule.Buildermonthly(Consumer<MonthlySchedule.Builder> monthly) A monthly sync that runs once a month on the specified day of the month.monthly(MonthlySchedule monthly) A monthly sync that runs once a month on the specified day of the month.default SyncSchedule.Builderweekly(Consumer<WeeklySchedule.Builder> weekly) A weekly sync that runs once a week on the specified day of the week.weekly(WeeklySchedule weekly) A weekly sync that runs once a week on the specified day of the week.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
-
daily
A daily sync that runs once a day at a system-chosen off-peak time. The run time is not configurable.
- Parameters:
daily- A daily sync that runs once a day at a system-chosen off-peak time. The run time is not configurable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
daily
A daily sync that runs once a day at a system-chosen off-peak time. The run time is not configurable.
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
A weekly sync that runs once a week on the specified day of the week.
- Parameters:
weekly- A weekly sync that runs once a week on the specified day of the week.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weekly
A weekly sync that runs once a week on the specified day of the week.
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
A monthly sync that runs once a month on the specified day of the month.
- Parameters:
monthly- A monthly sync that runs once a month on the specified day of the month.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthly
A monthly sync that runs once a month on the specified day of the month.
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:
-