Class CfnConfigurationSet.DeliveryOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnConfigurationSet.DeliveryOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSet.DeliveryOptionsProperty>
- Enclosing interface:
- CfnConfigurationSet.DeliveryOptionsProperty
@Stability(Stable)
public static final class CfnConfigurationSet.DeliveryOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSet.DeliveryOptionsProperty>
A builder for
CfnConfigurationSet.DeliveryOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sendingPoolName(String sendingPoolName) Sets the value ofCfnConfigurationSet.DeliveryOptionsProperty.getSendingPoolName()Sets the value ofCfnConfigurationSet.DeliveryOptionsProperty.getTlsPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sendingPoolName
@Stability(Stable) public CfnConfigurationSet.DeliveryOptionsProperty.Builder sendingPoolName(String sendingPoolName) Sets the value ofCfnConfigurationSet.DeliveryOptionsProperty.getSendingPoolName()- Parameters:
sendingPoolName- The name of the dedicated IP pool to associate with the configuration set.- Returns:
this
-
tlsPolicy
@Stability(Stable) public CfnConfigurationSet.DeliveryOptionsProperty.Builder tlsPolicy(String tlsPolicy) Sets the value ofCfnConfigurationSet.DeliveryOptionsProperty.getTlsPolicy()- Parameters:
tlsPolicy- Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value isREQUIRE, messages are only delivered if a TLS connection can be established. If the value isOPTIONAL, messages can be delivered in plain text if a TLS connection can't be established.Valid Values:
REQUIRE | OPTIONAL- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationSet.DeliveryOptionsProperty>- Returns:
- a new instance of
CfnConfigurationSet.DeliveryOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-