Class CfnTrigger.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnTrigger.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrigger.ConditionProperty>
- Enclosing interface:
- CfnTrigger.ConditionProperty
@Stability(Stable)
public static final class CfnTrigger.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrigger.ConditionProperty>
A builder for
CfnTrigger.ConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crawlerName(String crawlerName) Sets the value ofCfnTrigger.ConditionProperty.getCrawlerName()crawlState(String crawlState) Sets the value ofCfnTrigger.ConditionProperty.getCrawlState()Sets the value ofCfnTrigger.ConditionProperty.getJobName()logicalOperator(String logicalOperator) Sets the value ofCfnTrigger.ConditionProperty.getLogicalOperator()Sets the value ofCfnTrigger.ConditionProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crawlerName
Sets the value ofCfnTrigger.ConditionProperty.getCrawlerName()- Parameters:
crawlerName- The name of the crawler to which this condition applies.- Returns:
this
-
crawlState
Sets the value ofCfnTrigger.ConditionProperty.getCrawlState()- Parameters:
crawlState- The state of the crawler to which this condition applies.- Returns:
this
-
jobName
Sets the value ofCfnTrigger.ConditionProperty.getJobName()- Parameters:
jobName- The name of the job whoseJobRunsthis condition applies to, and on which this trigger waits.- Returns:
this
-
logicalOperator
@Stability(Stable) public CfnTrigger.ConditionProperty.Builder logicalOperator(String logicalOperator) Sets the value ofCfnTrigger.ConditionProperty.getLogicalOperator()- Parameters:
logicalOperator- A logical operator.- Returns:
this
-
state
Sets the value ofCfnTrigger.ConditionProperty.getState()- Parameters:
state- The condition state. Currently, the values supported areSUCCEEDED,STOPPED,TIMEOUT, andFAILED.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrigger.ConditionProperty>- Returns:
- a new instance of
CfnTrigger.ConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-