@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleConfig extends Object implements Serializable, Cloneable, StructuredPojo
The rule configuration for an assertion rule. That is, the criteria that you set for specific assertion controls (routing controls) that specify how many controls must be enabled after a transaction completes.
Constructor and Description |
---|
RuleConfig() |
Modifier and Type | Method and Description |
---|---|
RuleConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getInverted()
Logical negation of the rule.
|
Integer |
getThreshold()
The value of N, when you specify an ATLEAST rule type.
|
String |
getType()
A rule can be one of the following: ATLEAST, AND, or OR.
|
int |
hashCode() |
Boolean |
isInverted()
Logical negation of the rule.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInverted(Boolean inverted)
Logical negation of the rule.
|
void |
setThreshold(Integer threshold)
The value of N, when you specify an ATLEAST rule type.
|
void |
setType(String type)
A rule can be one of the following: ATLEAST, AND, or OR.
|
String |
toString()
Returns a string representation of this object.
|
RuleConfig |
withInverted(Boolean inverted)
Logical negation of the rule.
|
RuleConfig |
withThreshold(Integer threshold)
The value of N, when you specify an ATLEAST rule type.
|
RuleConfig |
withType(RuleType type)
A rule can be one of the following: ATLEAST, AND, or OR.
|
RuleConfig |
withType(String type)
A rule can be one of the following: ATLEAST, AND, or OR.
|
public void setInverted(Boolean inverted)
Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
inverted
- Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice
versa.public Boolean getInverted()
Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
public RuleConfig withInverted(Boolean inverted)
Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
inverted
- Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice
versa.public Boolean isInverted()
Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
public void setThreshold(Integer threshold)
The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.
threshold
- The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that
must be set when you specify an ATLEAST type.public Integer getThreshold()
The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.
public RuleConfig withThreshold(Integer threshold)
The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.
threshold
- The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that
must be set when you specify an ATLEAST type.public void setType(String type)
A rule can be one of the following: ATLEAST, AND, or OR.
type
- A rule can be one of the following: ATLEAST, AND, or OR.RuleType
public String getType()
A rule can be one of the following: ATLEAST, AND, or OR.
RuleType
public RuleConfig withType(String type)
A rule can be one of the following: ATLEAST, AND, or OR.
type
- A rule can be one of the following: ATLEAST, AND, or OR.RuleType
public RuleConfig withType(RuleType type)
A rule can be one of the following: ATLEAST, AND, or OR.
type
- A rule can be one of the following: ATLEAST, AND, or OR.RuleType
public String toString()
toString
in class Object
Object.toString()
public RuleConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.