@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Condition extends Object implements Serializable, Cloneable, StructuredPojo
Defines a condition under which a trigger fires.
| Constructor and Description |
|---|
Condition() |
| Modifier and Type | Method and Description |
|---|---|
Condition |
clone() |
boolean |
equals(Object obj) |
String |
getCrawlerName()
The name of the crawler to which this condition applies.
|
String |
getCrawlState()
The state of the crawler to which this condition applies.
|
String |
getJobName()
The name of the job whose
JobRuns this condition applies to, and on which this trigger waits. |
String |
getLogicalOperator()
A logical operator.
|
String |
getState()
The condition state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCrawlerName(String crawlerName)
The name of the crawler to which this condition applies.
|
void |
setCrawlState(String crawlState)
The state of the crawler to which this condition applies.
|
void |
setJobName(String jobName)
The name of the job whose
JobRuns this condition applies to, and on which this trigger waits. |
void |
setLogicalOperator(String logicalOperator)
A logical operator.
|
void |
setState(String state)
The condition state.
|
String |
toString()
Returns a string representation of this object.
|
Condition |
withCrawlerName(String crawlerName)
The name of the crawler to which this condition applies.
|
Condition |
withCrawlState(CrawlState crawlState)
The state of the crawler to which this condition applies.
|
Condition |
withCrawlState(String crawlState)
The state of the crawler to which this condition applies.
|
Condition |
withJobName(String jobName)
The name of the job whose
JobRuns this condition applies to, and on which this trigger waits. |
Condition |
withLogicalOperator(LogicalOperator logicalOperator)
A logical operator.
|
Condition |
withLogicalOperator(String logicalOperator)
A logical operator.
|
Condition |
withState(JobRunState state)
The condition state.
|
Condition |
withState(String state)
The condition state.
|
public void setLogicalOperator(String logicalOperator)
A logical operator.
logicalOperator - A logical operator.LogicalOperatorpublic String getLogicalOperator()
A logical operator.
LogicalOperatorpublic Condition withLogicalOperator(String logicalOperator)
A logical operator.
logicalOperator - A logical operator.LogicalOperatorpublic Condition withLogicalOperator(LogicalOperator logicalOperator)
A logical operator.
logicalOperator - A logical operator.LogicalOperatorpublic void setJobName(String jobName)
The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
jobName - The name of the job whose JobRuns this condition applies to, and on which this trigger waits.public String getJobName()
The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
JobRuns this condition applies to, and on which this trigger
waits.public Condition withJobName(String jobName)
The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
jobName - The name of the job whose JobRuns this condition applies to, and on which this trigger waits.public void setState(String state)
The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
TIMEOUT, and FAILED.
state - The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
TIMEOUT, and FAILED.JobRunStatepublic String getState()
The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
TIMEOUT, and FAILED.
SUCCEEDED, STOPPED,
TIMEOUT, and FAILED.JobRunStatepublic Condition withState(String state)
The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
TIMEOUT, and FAILED.
state - The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
TIMEOUT, and FAILED.JobRunStatepublic Condition withState(JobRunState state)
The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
TIMEOUT, and FAILED.
state - The condition state. Currently, the values supported are SUCCEEDED, STOPPED,
TIMEOUT, and FAILED.JobRunStatepublic void setCrawlerName(String crawlerName)
The name of the crawler to which this condition applies.
crawlerName - The name of the crawler to which this condition applies.public String getCrawlerName()
The name of the crawler to which this condition applies.
public Condition withCrawlerName(String crawlerName)
The name of the crawler to which this condition applies.
crawlerName - The name of the crawler to which this condition applies.public void setCrawlState(String crawlState)
The state of the crawler to which this condition applies.
crawlState - The state of the crawler to which this condition applies.CrawlStatepublic String getCrawlState()
The state of the crawler to which this condition applies.
CrawlStatepublic Condition withCrawlState(String crawlState)
The state of the crawler to which this condition applies.
crawlState - The state of the crawler to which this condition applies.CrawlStatepublic Condition withCrawlState(CrawlState crawlState)
The state of the crawler to which this condition applies.
crawlState - The state of the crawler to which this condition applies.CrawlStatepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.