@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConditionState extends Object implements Serializable, Cloneable, StructuredPojo
Information about the state of the condition.
Constructor and Description |
---|
ConditionState() |
Modifier and Type | Method and Description |
---|---|
ConditionState |
clone() |
boolean |
equals(Object obj) |
ConditionExecution |
getLatestExecution()
The state of the latest run of the rule.
|
List<RuleState> |
getRuleStates()
The state of the rules for the condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLatestExecution(ConditionExecution latestExecution)
The state of the latest run of the rule.
|
void |
setRuleStates(Collection<RuleState> ruleStates)
The state of the rules for the condition.
|
String |
toString()
Returns a string representation of this object.
|
ConditionState |
withLatestExecution(ConditionExecution latestExecution)
The state of the latest run of the rule.
|
ConditionState |
withRuleStates(Collection<RuleState> ruleStates)
The state of the rules for the condition.
|
ConditionState |
withRuleStates(RuleState... ruleStates)
The state of the rules for the condition.
|
public void setLatestExecution(ConditionExecution latestExecution)
The state of the latest run of the rule.
latestExecution
- The state of the latest run of the rule.public ConditionExecution getLatestExecution()
The state of the latest run of the rule.
public ConditionState withLatestExecution(ConditionExecution latestExecution)
The state of the latest run of the rule.
latestExecution
- The state of the latest run of the rule.public List<RuleState> getRuleStates()
The state of the rules for the condition.
public void setRuleStates(Collection<RuleState> ruleStates)
The state of the rules for the condition.
ruleStates
- The state of the rules for the condition.public ConditionState withRuleStates(RuleState... ruleStates)
The state of the rules for the condition.
NOTE: This method appends the values to the existing list (if any). Use
setRuleStates(java.util.Collection)
or withRuleStates(java.util.Collection)
if you want to
override the existing values.
ruleStates
- The state of the rules for the condition.public ConditionState withRuleStates(Collection<RuleState> ruleStates)
The state of the rules for the condition.
ruleStates
- The state of the rules for the condition.public String toString()
toString
in class Object
Object.toString()
public ConditionState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.