Interface RuleVerdictExpression.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleVerdictExpression.Builder,RuleVerdictExpression>,SdkBuilder<RuleVerdictExpression.Builder,RuleVerdictExpression>,SdkPojo
- Enclosing class:
- RuleVerdictExpression
public static interface RuleVerdictExpression.Builder extends SdkPojo, CopyableBuilder<RuleVerdictExpression.Builder,RuleVerdictExpression>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleVerdictExpression.Builderevaluate(Consumer<RuleVerdictToEvaluate.Builder> evaluate)The verdict to evaluate in a verdict condition expression.RuleVerdictExpression.Builderevaluate(RuleVerdictToEvaluate evaluate)The verdict to evaluate in a verdict condition expression.RuleVerdictExpression.Builderoperator(String operator)The matching operator for a verdict condition expression.RuleVerdictExpression.Builderoperator(RuleVerdictOperator operator)The matching operator for a verdict condition expression.RuleVerdictExpression.Buildervalues(Collection<RuleVerdict> values)The values to match with the email's verdict using the given operator.RuleVerdictExpression.Buildervalues(RuleVerdict... values)The values to match with the email's verdict using the given operator.RuleVerdictExpression.BuildervaluesWithStrings(String... values)The values to match with the email's verdict using the given operator.RuleVerdictExpression.BuildervaluesWithStrings(Collection<String> values)The values to match with the email's verdict using the given operator.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
evaluate
RuleVerdictExpression.Builder evaluate(RuleVerdictToEvaluate evaluate)
The verdict to evaluate in a verdict condition expression.
- Parameters:
evaluate- The verdict to evaluate in a verdict condition expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluate
default RuleVerdictExpression.Builder evaluate(Consumer<RuleVerdictToEvaluate.Builder> evaluate)
The verdict to evaluate in a verdict condition expression.
This is a convenience method that creates an instance of theRuleVerdictToEvaluate.Builderavoiding the need to create one manually viaRuleVerdictToEvaluate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluate(RuleVerdictToEvaluate).- Parameters:
evaluate- a consumer that will call methods onRuleVerdictToEvaluate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
evaluate(RuleVerdictToEvaluate)
-
operator
RuleVerdictExpression.Builder operator(String operator)
The matching operator for a verdict condition expression.
- Parameters:
operator- The matching operator for a verdict condition expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleVerdictOperator,RuleVerdictOperator
-
operator
RuleVerdictExpression.Builder operator(RuleVerdictOperator operator)
The matching operator for a verdict condition expression.
- Parameters:
operator- The matching operator for a verdict condition expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleVerdictOperator,RuleVerdictOperator
-
valuesWithStrings
RuleVerdictExpression.Builder valuesWithStrings(Collection<String> values)
The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.
- Parameters:
values- The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesWithStrings
RuleVerdictExpression.Builder valuesWithStrings(String... values)
The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.
- Parameters:
values- The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
RuleVerdictExpression.Builder values(Collection<RuleVerdict> values)
The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.
- Parameters:
values- The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
RuleVerdictExpression.Builder values(RuleVerdict... values)
The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.
- Parameters:
values- The values to match with the email's verdict using the given operator. For the EQUALS operator, if multiple values are given, the condition is deemed to match if any of the given verdicts match that of the email. For the NOT_EQUALS operator, if multiple values are given, the condition is deemed to match of none of the given verdicts match the verdict of the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-