Class RuleNumberExpression
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.RuleNumberExpression
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleNumberExpression.Builder,RuleNumberExpression>
@Generated("software.amazon.awssdk:codegen") public final class RuleNumberExpression extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleNumberExpression.Builder,RuleNumberExpression>
A number expression to match numeric conditions with integers from the incoming email.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleNumberExpression.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleNumberExpression.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)RuleNumberToEvaluateevaluate()The number to evaluate in a numeric condition expression.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RuleNumberOperatoroperator()The operator for a numeric condition expression.StringoperatorAsString()The operator for a numeric condition expression.List<SdkField<?>>sdkFields()static Class<? extends RuleNumberExpression.Builder>serializableBuilderClass()RuleNumberExpression.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublevalue()The value to evaluate in a numeric condition expression.-
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
-
evaluate
public final RuleNumberToEvaluate evaluate()
The number to evaluate in a numeric condition expression.
- Returns:
- The number to evaluate in a numeric condition expression.
-
operator
public final RuleNumberOperator operator()
The operator for a numeric condition expression.
If the service returns an enum value that is not available in the current SDK version,
operatorwill returnRuleNumberOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- The operator for a numeric condition expression.
- See Also:
RuleNumberOperator
-
operatorAsString
public final String operatorAsString()
The operator for a numeric condition expression.
If the service returns an enum value that is not available in the current SDK version,
operatorwill returnRuleNumberOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- The operator for a numeric condition expression.
- See Also:
RuleNumberOperator
-
value
public final Double value()
The value to evaluate in a numeric condition expression.
- Returns:
- The value to evaluate in a numeric condition expression.
-
toBuilder
public RuleNumberExpression.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleNumberExpression.Builder,RuleNumberExpression>
-
builder
public static RuleNumberExpression.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleNumberExpression.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.
-
-