public static final class CfnTrigger.ConditionProperty.Builder
extends java.lang.Object
CfnTrigger.ConditionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnTrigger.ConditionProperty |
build()
Builds the configured instance.
|
CfnTrigger.ConditionProperty.Builder |
crawlerName(java.lang.String crawlerName)
Sets the value of
CfnTrigger.ConditionProperty.getCrawlerName() |
CfnTrigger.ConditionProperty.Builder |
crawlState(java.lang.String crawlState)
Sets the value of
CfnTrigger.ConditionProperty.getCrawlState() |
CfnTrigger.ConditionProperty.Builder |
jobName(java.lang.String jobName)
Sets the value of
CfnTrigger.ConditionProperty.getJobName() |
CfnTrigger.ConditionProperty.Builder |
logicalOperator(java.lang.String logicalOperator)
Sets the value of
CfnTrigger.ConditionProperty.getLogicalOperator() |
CfnTrigger.ConditionProperty.Builder |
state(java.lang.String state)
Sets the value of
CfnTrigger.ConditionProperty.getState() |
public CfnTrigger.ConditionProperty.Builder crawlerName(java.lang.String crawlerName)
CfnTrigger.ConditionProperty.getCrawlerName()
crawlerName
- The name of the crawler to which this condition applies.this
public CfnTrigger.ConditionProperty.Builder crawlState(java.lang.String crawlState)
CfnTrigger.ConditionProperty.getCrawlState()
crawlState
- The state of the crawler to which this condition applies.this
public CfnTrigger.ConditionProperty.Builder jobName(java.lang.String jobName)
CfnTrigger.ConditionProperty.getJobName()
jobName
- The name of the job whose `JobRuns` this condition applies to, and on which this trigger waits.this
public CfnTrigger.ConditionProperty.Builder logicalOperator(java.lang.String logicalOperator)
CfnTrigger.ConditionProperty.getLogicalOperator()
logicalOperator
- A logical operator.this
public CfnTrigger.ConditionProperty.Builder state(java.lang.String state)
CfnTrigger.ConditionProperty.getState()
state
- The condition state.
Currently, the values supported are SUCCEEDED
, STOPPED
, TIMEOUT
, and FAILED
.this
public CfnTrigger.ConditionProperty build()
CfnTrigger.ConditionProperty
java.lang.NullPointerException
- if any required attribute was not provided