Interface RuleStringExpression.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleStringExpression.Builder,
,RuleStringExpression> SdkBuilder<RuleStringExpression.Builder,
,RuleStringExpression> SdkPojo
- Enclosing class:
RuleStringExpression
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleStringExpression.Builder
evaluate
(Consumer<RuleStringToEvaluate.Builder> evaluate) The string to evaluate in a string condition expression.evaluate
(RuleStringToEvaluate evaluate) The string to evaluate in a string condition expression.The matching operator for a string condition expression.operator
(RuleStringOperator operator) The matching operator for a string condition expression.The string(s) to be evaluated in a string condition expression.values
(Collection<String> values) The string(s) to be evaluated in a string condition expression.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 string to evaluate in a string condition expression.
- Parameters:
evaluate
- The string to evaluate in a string condition expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluate
The string to evaluate in a string condition expression.
This is a convenience method that creates an instance of theRuleStringToEvaluate.Builder
avoiding the need to create one manually viaRuleStringToEvaluate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevaluate(RuleStringToEvaluate)
.- Parameters:
evaluate
- a consumer that will call methods onRuleStringToEvaluate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
The matching operator for a string condition expression.
- Parameters:
operator
- The matching operator for a string 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 string condition expression.
- Parameters:
operator
- The matching operator for a string condition expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
values
The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
- Parameters:
values
- The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
- Parameters:
values
- The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-