Class CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty>
- Enclosing interface:
CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
operator
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty.Builder operator(String operator) - Parameters:
operator- The operator to apply to the DMARC policy of the incoming email.- Returns:
this
-
values
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty.Builder values(List<String> values) Sets the value ofCfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty.getValues()- Parameters:
values- The values to use for the given DMARC policy operator. For the operator EQUALS, if multiple values are given, they are evaluated as an OR. That is, if any of the given values match, the condition is deemed to match. For the operator NOT_EQUALS, if multiple values are given, they are evaluated as an AND. That is, only if the email's DMARC policy is not equal to any of the given values, then the condition is deemed to match.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSetPropsMixin.RuleDmarcExpressionProperty - Throws:
NullPointerException- if any required attribute was not provided
-