Class RuleConfig
- java.lang.Object
-
- software.amazon.awssdk.services.route53recoverycontrolconfig.model.RuleConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleConfig.Builder,RuleConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleaninverted()Logical negation of the rule.List<SdkField<?>>sdkFields()static Class<? extends RuleConfig.Builder>serializableBuilderClass()Integerthreshold()The value of N, when you specify an ATLEAST rule type.RuleConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.RuleTypetype()A rule can be one of the following: ATLEAST, AND, or OR.StringtypeAsString()A rule can be one of the following: ATLEAST, AND, or OR.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
inverted
public final Boolean inverted()
Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
- Returns:
- Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
-
threshold
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.
- Returns:
- 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.
-
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,
typewill returnRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- A rule can be one of the following: ATLEAST, AND, or OR.
- See Also:
RuleType
-
typeAsString
public 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,
typewill returnRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- A rule can be one of the following: ATLEAST, AND, or OR.
- See Also:
RuleType
-
toBuilder
public RuleConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleConfig.Builder,RuleConfig>
-
builder
public static RuleConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-