Class Condition.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.Condition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Condition>
- Enclosing interface:
Condition
@Stability(Experimental)
public static final class Condition.Builder
extends Object
implements software.amazon.jsii.Builder<Condition>
A builder for
Condition-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crawlerName(String crawlerName) Sets the value ofCondition.getCrawlerName()crawlState(CrawlerState crawlState) Sets the value ofCondition.getCrawlState()Sets the value ofCondition.getJob()logicalOperator(ConditionLogicalOperator logicalOperator) Sets the value ofCondition.getLogicalOperator()Sets the value ofCondition.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crawlerName
Sets the value ofCondition.getCrawlerName()- Parameters:
crawlerName- The name of the crawler to which this condition applies.- Returns:
this
-
crawlState
Sets the value ofCondition.getCrawlState()- Parameters:
crawlState- The condition crawler state.- Returns:
this
-
job
Sets the value ofCondition.getJob()- Parameters:
job- The job to which this condition applies.- Returns:
this
-
logicalOperator
@Stability(Experimental) public Condition.Builder logicalOperator(ConditionLogicalOperator logicalOperator) Sets the value ofCondition.getLogicalOperator()- Parameters:
logicalOperator- The logical operator for the condition.- Returns:
this
-
state
Sets the value ofCondition.getState()- Parameters:
state- The condition job state.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Condition>- Returns:
- a new instance of
Condition - Throws:
NullPointerException- if any required attribute was not provided
-