@Stability(value=Stable) public static final class CfnTriggerProps.Builder extends Object implements software.amazon.jsii.Builder<CfnTriggerProps>
CfnTriggerProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnTriggerProps.Builder actions(IResolvable actions)
CfnTriggerProps.getActions()actions - The actions initiated by this trigger. This parameter is required.this@Stability(value=Stable) public CfnTriggerProps.Builder actions(List<? extends Object> actions)
CfnTriggerProps.getActions()actions - The actions initiated by this trigger. This parameter is required.this@Stability(value=Stable) public CfnTriggerProps.Builder type(String type)
CfnTriggerProps.getType()type - The type of trigger that this is. This parameter is required.this@Stability(value=Stable) public CfnTriggerProps.Builder description(String description)
CfnTriggerProps.getDescription()description - A description of this trigger.this@Stability(value=Stable) public CfnTriggerProps.Builder name(String name)
CfnTriggerProps.getName()name - The name of the trigger.this@Stability(value=Stable) public CfnTriggerProps.Builder predicate(CfnTrigger.PredicateProperty predicate)
CfnTriggerProps.getPredicate()predicate - The predicate of this trigger, which defines when it will fire.this@Stability(value=Stable) public CfnTriggerProps.Builder predicate(IResolvable predicate)
CfnTriggerProps.getPredicate()predicate - The predicate of this trigger, which defines when it will fire.this@Stability(value=Stable) public CfnTriggerProps.Builder schedule(String schedule)
CfnTriggerProps.getSchedule()schedule - A `cron` expression used to specify the schedule.
For more information, see Time-Based Schedules for Jobs and Crawlers in the AWS Glue Developer Guide . For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *) .this@Stability(value=Stable) public CfnTriggerProps.Builder startOnCreation(Boolean startOnCreation)
CfnTriggerProps.getStartOnCreation()startOnCreation - Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created.
True is not supported for ON_DEMAND triggers.this@Stability(value=Stable) public CfnTriggerProps.Builder startOnCreation(IResolvable startOnCreation)
CfnTriggerProps.getStartOnCreation()startOnCreation - Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created.
True is not supported for ON_DEMAND triggers.this@Stability(value=Stable) public CfnTriggerProps.Builder tags(Object tags)
CfnTriggerProps.getTags()tags - The tags to use with this trigger.this@Stability(value=Stable) public CfnTriggerProps.Builder workflowName(String workflowName)
CfnTriggerProps.getWorkflowName()workflowName - The name of the workflow associated with the trigger.this@Stability(value=Stable) public CfnTriggerProps build()
build in interface software.amazon.jsii.Builder<CfnTriggerProps>CfnTriggerPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.