Interface TriggerCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TriggerCondition.Builder,,TriggerCondition> SdkBuilder<TriggerCondition.Builder,,TriggerCondition> SdkPojo
- Enclosing class:
TriggerCondition
@Mutable
@NotThreadSafe
public static interface TriggerCondition.Builder
extends SdkPojo, CopyableBuilder<TriggerCondition.Builder,TriggerCondition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TriggerCondition.Builderschedule(Consumer<ScheduleCondition.Builder> schedule) Time-based firing conditionschedule(ScheduleCondition schedule) Time-based firing conditionMethods 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
-
schedule
Time-based firing condition
- Parameters:
schedule- Time-based firing condition- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
Time-based firing condition
This is a convenience method that creates an instance of theScheduleCondition.Builderavoiding the need to create one manually viaScheduleCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedule(ScheduleCondition).- Parameters:
schedule- a consumer that will call methods onScheduleCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-