Interface TriggerUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TriggerUpdate.Builder,TriggerUpdate>,SdkBuilder<TriggerUpdate.Builder,TriggerUpdate>,SdkPojo
- Enclosing class:
- TriggerUpdate
public static interface TriggerUpdate.Builder extends SdkPojo, CopyableBuilder<TriggerUpdate.Builder,TriggerUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TriggerUpdate.Builderactions(Collection<Action> actions)The actions initiated by this trigger.TriggerUpdate.Builderactions(Consumer<Action.Builder>... actions)The actions initiated by this trigger.TriggerUpdate.Builderactions(Action... actions)The actions initiated by this trigger.TriggerUpdate.Builderdescription(String description)A description of this trigger.default TriggerUpdate.BuildereventBatchingCondition(Consumer<EventBatchingCondition.Builder> eventBatchingCondition)Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.TriggerUpdate.BuildereventBatchingCondition(EventBatchingCondition eventBatchingCondition)Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.TriggerUpdate.Buildername(String name)Reserved for future use.default TriggerUpdate.Builderpredicate(Consumer<Predicate.Builder> predicate)The predicate of this trigger, which defines when it will fire.TriggerUpdate.Builderpredicate(Predicate predicate)The predicate of this trigger, which defines when it will fire.TriggerUpdate.Builderschedule(String schedule)Acronexpression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
TriggerUpdate.Builder name(String name)
Reserved for future use.
- Parameters:
name- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
TriggerUpdate.Builder description(String description)
A description of this trigger.
- Parameters:
description- A description of this trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
TriggerUpdate.Builder schedule(String schedule)
A
cronexpression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:cron(15 12 * * ? *).- Parameters:
schedule- Acronexpression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:cron(15 12 * * ? *).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
TriggerUpdate.Builder actions(Collection<Action> actions)
The actions initiated by this trigger.
- Parameters:
actions- The actions initiated by this trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
TriggerUpdate.Builder actions(Action... actions)
The actions initiated by this trigger.
- Parameters:
actions- The actions initiated by this trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
TriggerUpdate.Builder actions(Consumer<Action.Builder>... actions)
The actions initiated by this trigger.
This is a convenience method that creates an instance of theAction.Builderavoiding the need to create one manually viaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - Parameters:
actions- a consumer that will call methods onAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actions(java.util.Collection)
-
predicate
TriggerUpdate.Builder predicate(Predicate predicate)
The predicate of this trigger, which defines when it will fire.
- Parameters:
predicate- The predicate of this trigger, which defines when it will fire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predicate
default TriggerUpdate.Builder predicate(Consumer<Predicate.Builder> predicate)
The predicate of this trigger, which defines when it will fire.
This is a convenience method that creates an instance of thePredicate.Builderavoiding the need to create one manually viaPredicate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topredicate(Predicate).- Parameters:
predicate- a consumer that will call methods onPredicate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
predicate(Predicate)
-
eventBatchingCondition
TriggerUpdate.Builder eventBatchingCondition(EventBatchingCondition eventBatchingCondition)
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
- Parameters:
eventBatchingCondition- Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBatchingCondition
default TriggerUpdate.Builder eventBatchingCondition(Consumer<EventBatchingCondition.Builder> eventBatchingCondition)
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
This is a convenience method that creates an instance of theEventBatchingCondition.Builderavoiding the need to create one manually viaEventBatchingCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventBatchingCondition(EventBatchingCondition).- Parameters:
eventBatchingCondition- a consumer that will call methods onEventBatchingCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eventBatchingCondition(EventBatchingCondition)
-
-