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.
|
CreateTriggerRequest.Builder |
name(String name)
The name of the trigger.
|
CreateTriggerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateTriggerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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 |
type(String type)
The type of the new trigger.
|
CreateTriggerRequest.Builder |
type(TriggerType type)
The type of the new trigger.
|
buildoverrideConfigurationcopyapplyMutation, buildCreateTriggerRequest.Builder name(String name)
The name of the trigger.
name - The name of 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.
This is a convenience that creates an instance of thePredicate.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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #actions(List) .actions - a consumer that will call methods on List.Builder #actions(List) 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 not supported for ON_DEMAND triggers.
startOnCreation - Set to true to start SCHEDULED and CONDITIONAL triggers when created. True not supported for ON_DEMAND
triggers.CreateTriggerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateTriggerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.