Class CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ses.mixins.CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty>
- Enclosing interface:
CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.evaluate(IResolvable evaluate) Sets the value ofCfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
evaluate
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty.Builder evaluate(IResolvable evaluate) - Parameters:
evaluate- The string to evaluate in a string condition expression.- Returns:
this
-
evaluate
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty.Builder evaluate(CfnMailManagerRuleSetPropsMixin.RuleStringToEvaluateProperty evaluate) - Parameters:
evaluate- The string to evaluate in a string condition expression.- Returns:
this
-
operator
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty.Builder operator(String operator) - Parameters:
operator- The matching operator for a string condition expression.- Returns:
this
-
values
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty.Builder values(List<String> values) Sets the value ofCfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty.getValues()- 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSetPropsMixin.RuleStringExpressionProperty - Throws:
NullPointerException- if any required attribute was not provided
-