Class RuleBooleanExpression
- java.lang.Object
-
- software.amazon.awssdk.services.mailmanager.model.RuleBooleanExpression
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RuleBooleanExpression.Builder,RuleBooleanExpression>
@Generated("software.amazon.awssdk:codegen") public final class RuleBooleanExpression extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RuleBooleanExpression.Builder,RuleBooleanExpression>
A boolean expression to be used in a rule condition.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRuleBooleanExpression.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RuleBooleanExpression.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)RuleBooleanToEvaluateevaluate()The operand on which to perform a boolean condition operation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RuleBooleanOperatoroperator()The matching operator for a boolean condition expression.StringoperatorAsString()The matching operator for a boolean condition expression.List<SdkField<?>>sdkFields()static Class<? extends RuleBooleanExpression.Builder>serializableBuilderClass()RuleBooleanExpression.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 RuleBooleanToEvaluate evaluate()
The operand on which to perform a boolean condition operation.
- Returns:
- The operand on which to perform a boolean condition operation.
-
operator
public final RuleBooleanOperator operator()
The matching operator for a boolean condition expression.
If the service returns an enum value that is not available in the current SDK version,
operatorwill returnRuleBooleanOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- The matching operator for a boolean condition expression.
- See Also:
RuleBooleanOperator
-
operatorAsString
public final String operatorAsString()
The matching operator for a boolean condition expression.
If the service returns an enum value that is not available in the current SDK version,
operatorwill returnRuleBooleanOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperatorAsString().- Returns:
- The matching operator for a boolean condition expression.
- See Also:
RuleBooleanOperator
-
toBuilder
public RuleBooleanExpression.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RuleBooleanExpression.Builder,RuleBooleanExpression>
-
builder
public static RuleBooleanExpression.Builder builder()
-
serializableBuilderClass
public static Class<? extends RuleBooleanExpression.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.
-
-