Interface RecurrenceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecurrenceConfig.Builder,,RecurrenceConfig> SdkBuilder<RecurrenceConfig.Builder,,RecurrenceConfig> SdkPojo
- Enclosing class:
RecurrenceConfig
@Mutable
@NotThreadSafe
public static interface RecurrenceConfig.Builder
extends SdkPojo, CopyableBuilder<RecurrenceConfig.Builder,RecurrenceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RecurrenceConfig.BuilderrecurrencePattern(Consumer<RecurrencePattern.Builder> recurrencePattern) The recurrence pattern that defines how the event repeats.recurrencePattern(RecurrencePattern recurrencePattern) The recurrence pattern that defines how the event repeats.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
-
recurrencePattern
The recurrence pattern that defines how the event repeats. Example: Frequency, Interval, ByMonth, ByMonthDay, ByWeekdayOccurrence
- Parameters:
recurrencePattern- The recurrence pattern that defines how the event repeats. Example: Frequency, Interval, ByMonth, ByMonthDay, ByWeekdayOccurrence- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrencePattern
default RecurrenceConfig.Builder recurrencePattern(Consumer<RecurrencePattern.Builder> recurrencePattern) The recurrence pattern that defines how the event repeats. Example: Frequency, Interval, ByMonth, ByMonthDay, ByWeekdayOccurrence
This is a convenience method that creates an instance of theRecurrencePattern.Builderavoiding the need to create one manually viaRecurrencePattern.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecurrencePattern(RecurrencePattern).- Parameters:
recurrencePattern- a consumer that will call methods onRecurrencePattern.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-