@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.
|
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.LogicalOperator
public String getLogicalOperator()
A logical operator.
LogicalOperator
public Condition withLogicalOperator(String logicalOperator)
A logical operator.
logicalOperator
- A logical operator.LogicalOperator
public Condition withLogicalOperator(LogicalOperator logicalOperator)
A logical operator.
logicalOperator
- A logical operator.LogicalOperator
public 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, TIMEOUT and FAILED.
state
- The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT and FAILED.JobRunState
public String getState()
The condition state. Currently, the values supported are SUCCEEDED, STOPPED, TIMEOUT and FAILED.
JobRunState
public 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.JobRunState
public 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.JobRunState
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.