Interface Condition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Condition.Builder,Condition>,SdkBuilder<Condition.Builder,Condition>,SdkPojo
- Enclosing class:
- Condition
public static interface Condition.Builder extends SdkPojo, CopyableBuilder<Condition.Builder,Condition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Condition.BuildercrawlerName(String crawlerName)The name of the crawler to which this condition applies.Condition.BuildercrawlState(String crawlState)The state of the crawler to which this condition applies.Condition.BuildercrawlState(CrawlState crawlState)The state of the crawler to which this condition applies.Condition.BuilderjobName(String jobName)The name of the job whoseJobRunsthis condition applies to, and on which this trigger waits.Condition.BuilderlogicalOperator(String logicalOperator)A logical operator.Condition.BuilderlogicalOperator(LogicalOperator logicalOperator)A logical operator.Condition.Builderstate(String state)The condition state.Condition.Builderstate(JobRunState state)The condition state.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
logicalOperator
Condition.Builder logicalOperator(String logicalOperator)
A logical operator.
- Parameters:
logicalOperator- A logical operator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogicalOperator,LogicalOperator
-
logicalOperator
Condition.Builder logicalOperator(LogicalOperator logicalOperator)
A logical operator.
- Parameters:
logicalOperator- A logical operator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogicalOperator,LogicalOperator
-
jobName
Condition.Builder jobName(String jobName)
The name of the job whose
JobRunsthis condition applies to, and on which this trigger waits.- Parameters:
jobName- The name of the job whoseJobRunsthis condition applies to, and on which this trigger waits.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Condition.Builder state(String state)
The condition state. Currently, the only job states that a trigger can listen for are
SUCCEEDED,STOPPED,FAILED, andTIMEOUT. The only crawler states that a trigger can listen for areSUCCEEDED,FAILED, andCANCELLED.- Parameters:
state- The condition state. Currently, the only job states that a trigger can listen for areSUCCEEDED,STOPPED,FAILED, andTIMEOUT. The only crawler states that a trigger can listen for areSUCCEEDED,FAILED, andCANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobRunState,JobRunState
-
state
Condition.Builder state(JobRunState state)
The condition state. Currently, the only job states that a trigger can listen for are
SUCCEEDED,STOPPED,FAILED, andTIMEOUT. The only crawler states that a trigger can listen for areSUCCEEDED,FAILED, andCANCELLED.- Parameters:
state- The condition state. Currently, the only job states that a trigger can listen for areSUCCEEDED,STOPPED,FAILED, andTIMEOUT. The only crawler states that a trigger can listen for areSUCCEEDED,FAILED, andCANCELLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobRunState,JobRunState
-
crawlerName
Condition.Builder crawlerName(String crawlerName)
The name of the crawler to which this condition applies.
- Parameters:
crawlerName- The name of the crawler to which this condition applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crawlState
Condition.Builder crawlState(String crawlState)
The state of the crawler to which this condition applies.
- Parameters:
crawlState- The state of the crawler to which this condition applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CrawlState,CrawlState
-
crawlState
Condition.Builder crawlState(CrawlState crawlState)
The state of the crawler to which this condition applies.
- Parameters:
crawlState- The state of the crawler to which this condition applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CrawlState,CrawlState
-
-