public static interface CreateTriggerRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateTriggerRequest.Builder,CreateTriggerRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateTriggerRequest.Builder |
actions(Action... actions)
The actions initiated by this trigger when it fires.
|
CreateTriggerRequest.Builder |
actions(Collection<Action> actions)
The actions initiated by this trigger when it fires.
|
CreateTriggerRequest.Builder |
actions(Consumer<Action.Builder>... actions)
The actions initiated by this trigger when it fires.
|
CreateTriggerRequest.Builder |
description(String description)
A description of the new trigger.
|
default CreateTriggerRequest.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.
|
CreateTriggerRequest.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.
|
CreateTriggerRequest.Builder |
name(String name)
The name of the trigger.
|
CreateTriggerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateTriggerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateTriggerRequest.Builder |
predicate(Consumer<Predicate.Builder> predicate)
A predicate to specify when the new trigger should fire.
|
CreateTriggerRequest.Builder |
predicate(Predicate predicate)
A predicate to specify when the new trigger should fire.
|
CreateTriggerRequest.Builder |
schedule(String schedule)
A
cron expression used to specify the schedule (see Time-Based Schedules
for Jobs and Crawlers. |
CreateTriggerRequest.Builder |
startOnCreation(Boolean startOnCreation)
Set to
true to start SCHEDULED and CONDITIONAL triggers when created. |
CreateTriggerRequest.Builder |
tags(Map<String,String> tags)
The tags to use with this trigger.
|
CreateTriggerRequest.Builder |
type(String type)
The type of the new trigger.
|
CreateTriggerRequest.Builder |
type(TriggerType type)
The type of the new trigger.
|
CreateTriggerRequest.Builder |
workflowName(String workflowName)
The name of the workflow associated with the trigger.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateTriggerRequest.Builder name(String name)
The name of the trigger.
name - The name of the trigger.CreateTriggerRequest.Builder workflowName(String workflowName)
The name of the workflow associated with the trigger.
workflowName - The name of the workflow associated with the trigger.CreateTriggerRequest.Builder type(String type)
The type of the new trigger.
type - The type of the new trigger.TriggerType,
TriggerTypeCreateTriggerRequest.Builder type(TriggerType type)
The type of the new trigger.
type - The type of the new trigger.TriggerType,
TriggerTypeCreateTriggerRequest.Builder schedule(String schedule)
A cron expression 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 * * ? *).
This field is required when the trigger type is SCHEDULED.
schedule - A cron expression 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 * * ? *).
This field is required when the trigger type is SCHEDULED.
CreateTriggerRequest.Builder predicate(Predicate predicate)
A predicate to specify when the new trigger should fire.
This field is required when the trigger type is CONDITIONAL.
predicate - A predicate to specify when the new trigger should fire.
This field is required when the trigger type is CONDITIONAL.
default CreateTriggerRequest.Builder predicate(Consumer<Predicate.Builder> predicate)
A predicate to specify when the new trigger should fire.
This field is required when the trigger type is CONDITIONAL.
Predicate.Builder avoiding the need to
create one manually via Predicate.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to predicate(Predicate).
predicate - a consumer that will call methods on Predicate.Builderpredicate(Predicate)CreateTriggerRequest.Builder actions(Collection<Action> actions)
The actions initiated by this trigger when it fires.
actions - The actions initiated by this trigger when it fires.CreateTriggerRequest.Builder actions(Action... actions)
The actions initiated by this trigger when it fires.
actions - The actions initiated by this trigger when it fires.CreateTriggerRequest.Builder actions(Consumer<Action.Builder>... actions)
The actions initiated by this trigger when it fires.
This is a convenience method that creates an instance of theAction.Builder avoiding the need to create one manually
via Action.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #actions(List.
actions - a consumer that will call methods on Action.Builder#actions(java.util.Collection) CreateTriggerRequest.Builder description(String description)
A description of the new trigger.
description - A description of the new trigger.CreateTriggerRequest.Builder startOnCreation(Boolean startOnCreation)
Set to true to start SCHEDULED and CONDITIONAL triggers when created.
True is not supported for ON_DEMAND triggers.
startOnCreation - Set to true to start SCHEDULED and CONDITIONAL triggers when
created. True is not supported for ON_DEMAND triggers.CreateTriggerRequest.Builder tags(Map<String,String> tags)
The tags to use with this trigger. You may use tags to limit access to the trigger. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
tags - The tags to use with this trigger. You may use tags to limit access to the trigger. For more
information about tags in Glue, see Amazon Web Services Tags in
Glue in the developer guide.CreateTriggerRequest.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.
eventBatchingCondition - Batch condition that must be met (specified number of events received or batch time window expired)
before EventBridge event trigger fires.default CreateTriggerRequest.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.Builder avoiding
the need to create one manually via EventBatchingCondition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to eventBatchingCondition(EventBatchingCondition).
eventBatchingCondition - a consumer that will call methods on EventBatchingCondition.BuildereventBatchingCondition(EventBatchingCondition)CreateTriggerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTriggerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.