Class ConfigurationSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.ConfigurationSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConfigurationSetProps>
- Enclosing interface:
ConfigurationSetProps
@Stability(Stable)
public static final class ConfigurationSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<ConfigurationSetProps>
A builder for
ConfigurationSetProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.configurationSetName
(String configurationSetName) Sets the value ofConfigurationSetProps.getConfigurationSetName()
customTrackingRedirectDomain
(String customTrackingRedirectDomain) Sets the value ofConfigurationSetProps.getCustomTrackingRedirectDomain()
dedicatedIpPool
(IDedicatedIpPool dedicatedIpPool) Sets the value ofConfigurationSetProps.getDedicatedIpPool()
disableSuppressionList
(Boolean disableSuppressionList) Sets the value ofConfigurationSetProps.getDisableSuppressionList()
maxDeliveryDuration
(Duration maxDeliveryDuration) Sets the value ofConfigurationSetProps.getMaxDeliveryDuration()
reputationMetrics
(Boolean reputationMetrics) Sets the value ofConfigurationSetProps.getReputationMetrics()
sendingEnabled
(Boolean sendingEnabled) Sets the value ofConfigurationSetProps.getSendingEnabled()
suppressionReasons
(SuppressionReasons suppressionReasons) Sets the value ofConfigurationSetProps.getSuppressionReasons()
tlsPolicy
(ConfigurationSetTlsPolicy tlsPolicy) Sets the value ofConfigurationSetProps.getTlsPolicy()
vdmOptions
(VdmOptions vdmOptions) Sets the value ofConfigurationSetProps.getVdmOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationSetName
@Stability(Stable) public ConfigurationSetProps.Builder configurationSetName(String configurationSetName) Sets the value ofConfigurationSetProps.getConfigurationSetName()
- Parameters:
configurationSetName
- A name for the configuration set.- Returns:
this
-
customTrackingRedirectDomain
@Stability(Stable) public ConfigurationSetProps.Builder customTrackingRedirectDomain(String customTrackingRedirectDomain) Sets the value ofConfigurationSetProps.getCustomTrackingRedirectDomain()
- Parameters:
customTrackingRedirectDomain
- The custom subdomain that is used to redirect email recipients to the Amazon SES event tracking domain.- Returns:
this
-
dedicatedIpPool
@Stability(Stable) public ConfigurationSetProps.Builder dedicatedIpPool(IDedicatedIpPool dedicatedIpPool) Sets the value ofConfigurationSetProps.getDedicatedIpPool()
- Parameters:
dedicatedIpPool
- The dedicated IP pool to associate with the configuration set.- Returns:
this
-
disableSuppressionList
@Stability(Stable) public ConfigurationSetProps.Builder disableSuppressionList(Boolean disableSuppressionList) Sets the value ofConfigurationSetProps.getDisableSuppressionList()
- Parameters:
disableSuppressionList
- If true, account-level suppression list is disabled;. email sent with this configuration set will not use any suppression settings at all- Returns:
this
-
maxDeliveryDuration
@Stability(Stable) public ConfigurationSetProps.Builder maxDeliveryDuration(Duration maxDeliveryDuration) Sets the value ofConfigurationSetProps.getMaxDeliveryDuration()
- Parameters:
maxDeliveryDuration
- The maximum amount of time that Amazon SES API v2 will attempt delivery of email. This value must be greater than or equal to 5 minutes and less than or equal to 14 hours.- Returns:
this
-
reputationMetrics
@Stability(Stable) public ConfigurationSetProps.Builder reputationMetrics(Boolean reputationMetrics) Sets the value ofConfigurationSetProps.getReputationMetrics()
- Parameters:
reputationMetrics
- Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.- Returns:
this
-
sendingEnabled
Sets the value ofConfigurationSetProps.getSendingEnabled()
- Parameters:
sendingEnabled
- Whether email sending is enabled.- Returns:
this
-
suppressionReasons
@Stability(Stable) public ConfigurationSetProps.Builder suppressionReasons(SuppressionReasons suppressionReasons) Sets the value ofConfigurationSetProps.getSuppressionReasons()
- Parameters:
suppressionReasons
- The reasons for which recipient email addresses should be automatically added to your account's suppression list.- Returns:
this
-
tlsPolicy
@Stability(Stable) public ConfigurationSetProps.Builder tlsPolicy(ConfigurationSetTlsPolicy tlsPolicy) Sets the value ofConfigurationSetProps.getTlsPolicy()
- Parameters:
tlsPolicy
- Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).- Returns:
this
-
vdmOptions
Sets the value ofConfigurationSetProps.getVdmOptions()
- Parameters:
vdmOptions
- The Virtual Deliverability Manager (VDM) options that apply to the configuration set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ConfigurationSetProps>
- Returns:
- a new instance of
ConfigurationSetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-