@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluatedRule extends Object implements Serializable, Cloneable, StructuredPojo
The details of the rule used for evaluating variable values.
| Constructor and Description |
|---|
EvaluatedRule() |
| Modifier and Type | Method and Description |
|---|---|
EvaluatedRule |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEvaluated()
Indicates whether the rule was evaluated.
|
String |
getExpression()
The rule expression.
|
String |
getExpressionWithValues()
The rule expression value.
|
Boolean |
getMatched()
Indicates whether the rule matched.
|
List<String> |
getOutcomes()
The rule outcome.
|
String |
getRuleId()
The rule ID.
|
String |
getRuleVersion()
The rule version.
|
int |
hashCode() |
Boolean |
isEvaluated()
Indicates whether the rule was evaluated.
|
Boolean |
isMatched()
Indicates whether the rule matched.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEvaluated(Boolean evaluated)
Indicates whether the rule was evaluated.
|
void |
setExpression(String expression)
The rule expression.
|
void |
setExpressionWithValues(String expressionWithValues)
The rule expression value.
|
void |
setMatched(Boolean matched)
Indicates whether the rule matched.
|
void |
setOutcomes(Collection<String> outcomes)
The rule outcome.
|
void |
setRuleId(String ruleId)
The rule ID.
|
void |
setRuleVersion(String ruleVersion)
The rule version.
|
String |
toString()
Returns a string representation of this object.
|
EvaluatedRule |
withEvaluated(Boolean evaluated)
Indicates whether the rule was evaluated.
|
EvaluatedRule |
withExpression(String expression)
The rule expression.
|
EvaluatedRule |
withExpressionWithValues(String expressionWithValues)
The rule expression value.
|
EvaluatedRule |
withMatched(Boolean matched)
Indicates whether the rule matched.
|
EvaluatedRule |
withOutcomes(Collection<String> outcomes)
The rule outcome.
|
EvaluatedRule |
withOutcomes(String... outcomes)
The rule outcome.
|
EvaluatedRule |
withRuleId(String ruleId)
The rule ID.
|
EvaluatedRule |
withRuleVersion(String ruleVersion)
The rule version.
|
public void setRuleId(String ruleId)
The rule ID.
ruleId - The rule ID.public String getRuleId()
The rule ID.
public EvaluatedRule withRuleId(String ruleId)
The rule ID.
ruleId - The rule ID.public void setRuleVersion(String ruleVersion)
The rule version.
ruleVersion - The rule version.public String getRuleVersion()
The rule version.
public EvaluatedRule withRuleVersion(String ruleVersion)
The rule version.
ruleVersion - The rule version.public void setExpression(String expression)
The rule expression.
expression - The rule expression.public String getExpression()
The rule expression.
public EvaluatedRule withExpression(String expression)
The rule expression.
expression - The rule expression.public void setExpressionWithValues(String expressionWithValues)
The rule expression value.
expressionWithValues - The rule expression value.public String getExpressionWithValues()
The rule expression value.
public EvaluatedRule withExpressionWithValues(String expressionWithValues)
The rule expression value.
expressionWithValues - The rule expression value.public void setOutcomes(Collection<String> outcomes)
The rule outcome.
outcomes - The rule outcome.public EvaluatedRule withOutcomes(String... outcomes)
The rule outcome.
NOTE: This method appends the values to the existing list (if any). Use
setOutcomes(java.util.Collection) or withOutcomes(java.util.Collection) if you want to override
the existing values.
outcomes - The rule outcome.public EvaluatedRule withOutcomes(Collection<String> outcomes)
The rule outcome.
outcomes - The rule outcome.public void setEvaluated(Boolean evaluated)
Indicates whether the rule was evaluated.
evaluated - Indicates whether the rule was evaluated.public Boolean getEvaluated()
Indicates whether the rule was evaluated.
public EvaluatedRule withEvaluated(Boolean evaluated)
Indicates whether the rule was evaluated.
evaluated - Indicates whether the rule was evaluated.public Boolean isEvaluated()
Indicates whether the rule was evaluated.
public void setMatched(Boolean matched)
Indicates whether the rule matched.
matched - Indicates whether the rule matched.public Boolean getMatched()
Indicates whether the rule matched.
public EvaluatedRule withMatched(Boolean matched)
Indicates whether the rule matched.
matched - Indicates whether the rule matched.public Boolean isMatched()
Indicates whether the rule matched.
public String toString()
toString in class ObjectObject.toString()public EvaluatedRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.