@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleResult extends Object implements Serializable, Cloneable, StructuredPojo
The rule results.
Constructor and Description |
---|
RuleResult() |
Modifier and Type | Method and Description |
---|---|
RuleResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getOutcomes()
The outcomes of the matched rule, based on the rule execution mode.
|
String |
getRuleId()
The rule ID that was matched, based on the rule execution mode.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOutcomes(Collection<String> outcomes)
The outcomes of the matched rule, based on the rule execution mode.
|
void |
setRuleId(String ruleId)
The rule ID that was matched, based on the rule execution mode.
|
String |
toString()
Returns a string representation of this object.
|
RuleResult |
withOutcomes(Collection<String> outcomes)
The outcomes of the matched rule, based on the rule execution mode.
|
RuleResult |
withOutcomes(String... outcomes)
The outcomes of the matched rule, based on the rule execution mode.
|
RuleResult |
withRuleId(String ruleId)
The rule ID that was matched, based on the rule execution mode.
|
public void setRuleId(String ruleId)
The rule ID that was matched, based on the rule execution mode.
ruleId
- The rule ID that was matched, based on the rule execution mode.public String getRuleId()
The rule ID that was matched, based on the rule execution mode.
public RuleResult withRuleId(String ruleId)
The rule ID that was matched, based on the rule execution mode.
ruleId
- The rule ID that was matched, based on the rule execution mode.public List<String> getOutcomes()
The outcomes of the matched rule, based on the rule execution mode.
public void setOutcomes(Collection<String> outcomes)
The outcomes of the matched rule, based on the rule execution mode.
outcomes
- The outcomes of the matched rule, based on the rule execution mode.public RuleResult withOutcomes(String... outcomes)
The outcomes of the matched rule, based on the rule execution mode.
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 outcomes of the matched rule, based on the rule execution mode.public RuleResult withOutcomes(Collection<String> outcomes)
The outcomes of the matched rule, based on the rule execution mode.
outcomes
- The outcomes of the matched rule, based on the rule execution mode.public String toString()
toString
in class Object
Object.toString()
public RuleResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.