Class CfnMailManagerRuleSet.RuleConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.RuleConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSet.RuleConditionProperty>
- Enclosing interface:
CfnMailManagerRuleSet.RuleConditionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSet.RuleConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSet.RuleConditionProperty>
A builder for
CfnMailManagerRuleSet.RuleConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanExpression(IResolvable booleanExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getBooleanExpression()booleanExpression(CfnMailManagerRuleSet.RuleBooleanExpressionProperty booleanExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getBooleanExpression()build()Builds the configured instance.dmarcExpression(IResolvable dmarcExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getDmarcExpression()dmarcExpression(CfnMailManagerRuleSet.RuleDmarcExpressionProperty dmarcExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getDmarcExpression()ipExpression(IResolvable ipExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getIpExpression()ipExpression(CfnMailManagerRuleSet.RuleIpExpressionProperty ipExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getIpExpression()numberExpression(IResolvable numberExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getNumberExpression()numberExpression(CfnMailManagerRuleSet.RuleNumberExpressionProperty numberExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getNumberExpression()stringExpression(IResolvable stringExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getStringExpression()stringExpression(CfnMailManagerRuleSet.RuleStringExpressionProperty stringExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getStringExpression()verdictExpression(IResolvable verdictExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getVerdictExpression()verdictExpression(CfnMailManagerRuleSet.RuleVerdictExpressionProperty verdictExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getVerdictExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
booleanExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder booleanExpression(IResolvable booleanExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getBooleanExpression()- Parameters:
booleanExpression- The condition applies to a boolean expression passed in this field.- Returns:
this
-
booleanExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder booleanExpression(CfnMailManagerRuleSet.RuleBooleanExpressionProperty booleanExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getBooleanExpression()- Parameters:
booleanExpression- The condition applies to a boolean expression passed in this field.- Returns:
this
-
dmarcExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder dmarcExpression(IResolvable dmarcExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getDmarcExpression()- Parameters:
dmarcExpression- The condition applies to a DMARC policy expression passed in this field.- Returns:
this
-
dmarcExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder dmarcExpression(CfnMailManagerRuleSet.RuleDmarcExpressionProperty dmarcExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getDmarcExpression()- Parameters:
dmarcExpression- The condition applies to a DMARC policy expression passed in this field.- Returns:
this
-
ipExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder ipExpression(IResolvable ipExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getIpExpression()- Parameters:
ipExpression- The condition applies to an IP address expression passed in this field.- Returns:
this
-
ipExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder ipExpression(CfnMailManagerRuleSet.RuleIpExpressionProperty ipExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getIpExpression()- Parameters:
ipExpression- The condition applies to an IP address expression passed in this field.- Returns:
this
-
numberExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder numberExpression(IResolvable numberExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getNumberExpression()- Parameters:
numberExpression- The condition applies to a number expression passed in this field.- Returns:
this
-
numberExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder numberExpression(CfnMailManagerRuleSet.RuleNumberExpressionProperty numberExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getNumberExpression()- Parameters:
numberExpression- The condition applies to a number expression passed in this field.- Returns:
this
-
stringExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder stringExpression(IResolvable stringExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getStringExpression()- Parameters:
stringExpression- The condition applies to a string expression passed in this field.- Returns:
this
-
stringExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder stringExpression(CfnMailManagerRuleSet.RuleStringExpressionProperty stringExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getStringExpression()- Parameters:
stringExpression- The condition applies to a string expression passed in this field.- Returns:
this
-
verdictExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder verdictExpression(IResolvable verdictExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getVerdictExpression()- Parameters:
verdictExpression- The condition applies to a verdict expression passed in this field.- Returns:
this
-
verdictExpression
@Stability(Stable) public CfnMailManagerRuleSet.RuleConditionProperty.Builder verdictExpression(CfnMailManagerRuleSet.RuleVerdictExpressionProperty verdictExpression) Sets the value ofCfnMailManagerRuleSet.RuleConditionProperty.getVerdictExpression()- Parameters:
verdictExpression- The condition applies to a verdict expression passed in this field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSet.RuleConditionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSet.RuleConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-