@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.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 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.JobRunState
public String getState()
The condition state.
JobRunState
public Condition withState(String state)
The condition state.
state
- The condition state.JobRunState
public Condition withState(JobRunState state)
The condition state.
state
- The condition state.JobRunState
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.