Class CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerTrafficPolicy.PolicyConditionProperty>
- Enclosing interface:
CfnMailManagerTrafficPolicy.PolicyConditionProperty
@Stability(Stable)
public static final class CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerTrafficPolicy.PolicyConditionProperty>
A builder for
CfnMailManagerTrafficPolicy.PolicyConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanExpression(IResolvable booleanExpression) booleanExpression(CfnMailManagerTrafficPolicy.IngressBooleanExpressionProperty booleanExpression) build()Builds the configured instance.ipExpression(IResolvable ipExpression) Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getIpExpression()Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getIpExpression()ipv6Expression(IResolvable ipv6Expression) Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getIpv6Expression()Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getIpv6Expression()stringExpression(IResolvable stringExpression) stringExpression(CfnMailManagerTrafficPolicy.IngressStringExpressionProperty stringExpression) tlsExpression(IResolvable tlsExpression) Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getTlsExpression()Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getTlsExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
booleanExpression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder booleanExpression(IResolvable booleanExpression) - Parameters:
booleanExpression- This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
booleanExpression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder booleanExpression(CfnMailManagerTrafficPolicy.IngressBooleanExpressionProperty booleanExpression) - Parameters:
booleanExpression- This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
ipExpression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder ipExpression(IResolvable ipExpression) Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getIpExpression()- Parameters:
ipExpression- This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
ipExpression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder ipExpression(CfnMailManagerTrafficPolicy.IngressIpv4ExpressionProperty ipExpression) Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getIpExpression()- Parameters:
ipExpression- This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
ipv6Expression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder ipv6Expression(IResolvable ipv6Expression) Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getIpv6Expression()- Parameters:
ipv6Expression- This represents an IPv6 based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
ipv6Expression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder ipv6Expression(CfnMailManagerTrafficPolicy.IngressIpv6ExpressionProperty ipv6Expression) Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getIpv6Expression()- Parameters:
ipv6Expression- This represents an IPv6 based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
stringExpression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder stringExpression(IResolvable stringExpression) - Parameters:
stringExpression- This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
stringExpression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder stringExpression(CfnMailManagerTrafficPolicy.IngressStringExpressionProperty stringExpression) - Parameters:
stringExpression- This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
tlsExpression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder tlsExpression(IResolvable tlsExpression) Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getTlsExpression()- Parameters:
tlsExpression- This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
tlsExpression
@Stability(Stable) public CfnMailManagerTrafficPolicy.PolicyConditionProperty.Builder tlsExpression(CfnMailManagerTrafficPolicy.IngressTlsProtocolExpressionProperty tlsExpression) Sets the value ofCfnMailManagerTrafficPolicy.PolicyConditionProperty.getTlsExpression()- Parameters:
tlsExpression- This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerTrafficPolicy.PolicyConditionProperty>- Returns:
- a new instance of
CfnMailManagerTrafficPolicy.PolicyConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-