@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 in question.
|
String |
getLogicalOperator()
A logical operator.
|
String |
getState()
The condition state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setJobName(String jobName)
The name of the job in question.
|
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 in question.
|
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 in question.
jobName - The name of the job in question.public String getJobName()
The name of the job in question.
public Condition withJobName(String jobName)
The name of the job in question.
jobName - The name of the job in question.public void setState(String state)
The condition state.
state - The condition state.JobRunStatepublic String getState()
The condition state.
JobRunStatepublic Condition withState(String state)
The condition state.
state - The condition state.JobRunStatepublic Condition withState(JobRunState state)
The condition state.
state - The condition state.JobRunStatepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.