@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 |
getJobName()
The name of the Job to whose JobRuns this condition applies and on which this trigger waits.
|
String |
getLogicalOperator()
A logical operator.
|
String |
getState()
The condition state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setJobName(String jobName)
The name of the Job to whose JobRuns this condition applies 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; useful for testing and debugging.
|
Condition |
withJobName(String jobName)
The name of the Job to whose JobRuns this condition applies 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 to whose JobRuns this condition applies and on which this trigger waits.
jobName - The name of the Job to whose JobRuns this condition applies and on which this trigger waits.public String getJobName()
The name of the Job to whose JobRuns this condition applies and on which this trigger waits.
public Condition withJobName(String jobName)
The name of the Job to whose JobRuns this condition applies and on which this trigger waits.
jobName - The name of the Job to whose JobRuns this condition applies and on which this trigger waits.public void setState(String state)
The condition state. Currently, the values supported are SUCCEEDED, STOPPED and FAILED.
state - The condition state. Currently, the values supported are SUCCEEDED, STOPPED and FAILED.JobRunStatepublic String getState()
The condition state. Currently, the values supported are SUCCEEDED, STOPPED and FAILED.
JobRunStatepublic Condition withState(String state)
The condition state. Currently, the values supported are SUCCEEDED, STOPPED and FAILED.
state - The condition state. Currently, the values supported are SUCCEEDED, STOPPED and FAILED.JobRunStatepublic Condition withState(JobRunState state)
The condition state. Currently, the values supported are SUCCEEDED, STOPPED and FAILED.
state - The condition state. Currently, the values supported are SUCCEEDED, STOPPED and FAILED.JobRunStatepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.