Interface MonthlySchedule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MonthlySchedule.Builder,,MonthlySchedule> SdkBuilder<MonthlySchedule.Builder,,MonthlySchedule> SdkPojo
- Enclosing class:
MonthlySchedule
@Mutable
@NotThreadSafe
public static interface MonthlySchedule.Builder
extends SdkPojo, CopyableBuilder<MonthlySchedule.Builder,MonthlySchedule>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MonthlySchedule.BuilderdayOfMonth(Consumer<DayOfMonth.Builder> dayOfMonth) The day of the month on which the monthly sync runs.dayOfMonth(DayOfMonth dayOfMonth) The day of the month on which the monthly sync runs.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
-
dayOfMonth
The day of the month on which the monthly sync runs.
- Parameters:
dayOfMonth- The day of the month on which the monthly sync runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dayOfMonth
The day of the month on which the monthly sync runs.
This is a convenience method that creates an instance of theDayOfMonth.Builderavoiding the need to create one manually viaDayOfMonth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todayOfMonth(DayOfMonth).- Parameters:
dayOfMonth- a consumer that will call methods onDayOfMonth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-