Interface RuleVerdictExpression.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleVerdictExpression.Builder,
,RuleVerdictExpression> SdkBuilder<RuleVerdictExpression.Builder,
,RuleVerdictExpression> SdkPojo
- Enclosing class:
RuleVerdictExpression
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleVerdictExpression.Builder
evaluate
(Consumer<RuleVerdictToEvaluate.Builder> evaluate) The verdict to evaluate in a verdict condition expression.evaluate
(RuleVerdictToEvaluate evaluate) The verdict to evaluate in a verdict condition expression.The matching operator for a verdict condition expression.operator
(RuleVerdictOperator operator) The matching operator for a verdict condition expression.values
(Collection<RuleVerdict> values) The values to match with the email's verdict using the given operator.values
(RuleVerdict... values) The values to match with the email's verdict using the given operator.valuesWithStrings
(String... values) The values to match with the email's verdict using the given operator.valuesWithStrings
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
The verdict to evaluate in a verdict condition expression.
This is a convenience method that creates an instance of theRuleVerdictToEvaluate.Builder
avoiding the need to create one manually viaRuleVerdictToEvaluate.builder()
.When the
Consumer
completes,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:
-
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:
-
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:
-
valuesWithStrings
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
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
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
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.
-