public static interface CreateTriggerRequest.Builder extends GlueRequest.Builder, 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 |
description(String description)
A description of the new trigger.
|
CreateTriggerRequest.Builder |
name(String name)
The name to assign to the new trigger.
|
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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateTriggerRequest.Builder |
schedule(String schedule)
A
cron expression used to specify the schedule (see Time-Based Schedules
for Jobs and Crawlers. |
CreateTriggerRequest.Builder |
type(String type)
The type of the new trigger.
|
CreateTriggerRequest.Builder |
type(TriggerType type)
The type of the new trigger.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateTriggerRequest.Builder name(String name)
The name to assign to the new trigger.
name
- The name to assign to the new trigger.CreateTriggerRequest.Builder type(String type)
The type of the new trigger.
type
- The type of the new trigger.TriggerType
,
TriggerType
CreateTriggerRequest.Builder type(TriggerType type)
The type of the new trigger.
type
- The type of the new trigger.TriggerType
,
TriggerType
CreateTriggerRequest.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 * * ? *)
.
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 * * ? *)
.CreateTriggerRequest.Builder predicate(Predicate predicate)
A predicate to specify when the new trigger should fire.
predicate
- A predicate to specify when the new trigger should fire.default CreateTriggerRequest.Builder predicate(Consumer<Predicate.Builder> predicate)
A predicate to specify when the new trigger should fire.
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.Builder
predicate(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 description(String description)
A description of the new trigger.
description
- A description of the new trigger.CreateTriggerRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.