@Generated(value="software.amazon.awssdk:codegen") public final class RuleConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleConfig.Builder,RuleConfig>
The rule configuration for an assertion rule. That is, the criteria that you set for specific assertion controls (routing controls) that specify how many control states must be ON after a transaction completes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RuleConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RuleConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
inverted()
Logical negation of the rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RuleConfig.Builder> |
serializableBuilderClass() |
Integer |
threshold()
The value of N, when you specify an ATLEAST rule type.
|
RuleConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
RuleType |
type()
A rule can be one of the following: ATLEAST, AND, or OR.
|
String |
typeAsString()
A rule can be one of the following: ATLEAST, AND, or OR.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean inverted()
Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
public final 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.
public final RuleType type()
A rule can be one of the following: ATLEAST, AND, or OR.
If the service returns an enum value that is not available in the current SDK version, type will return
RuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
RuleTypepublic final String typeAsString()
A rule can be one of the following: ATLEAST, AND, or OR.
If the service returns an enum value that is not available in the current SDK version, type will return
RuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
RuleTypepublic RuleConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RuleConfig.Builder,RuleConfig>public static RuleConfig.Builder builder()
public static Class<? extends RuleConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.