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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maxDeliverySeconds
(Number maxDeliverySeconds) Sets the value ofCfnConfigurationSet.DeliveryOptionsProperty.getMaxDeliverySeconds()
sendingPoolName
(String sendingPoolName) Sets the value ofCfnConfigurationSet.DeliveryOptionsProperty.getSendingPoolName()
Sets the value ofCfnConfigurationSet.DeliveryOptionsProperty.getTlsPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxDeliverySeconds
@Stability(Stable) public CfnConfigurationSet.DeliveryOptionsProperty.Builder maxDeliverySeconds(Number maxDeliverySeconds) Sets the value ofCfnConfigurationSet.DeliveryOptionsProperty.getMaxDeliverySeconds()
- Parameters:
maxDeliverySeconds
- The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).- Returns:
this
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationSet.DeliveryOptionsProperty>
- Returns:
- a new instance of
CfnConfigurationSet.DeliveryOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-