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()
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()
-
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
-
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
-
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
-