Class CfnEmailIdentityProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnEmailIdentityProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailIdentityProps>
- Enclosing interface:
- CfnEmailIdentityProps
@Stability(Stable)
public static final class CfnEmailIdentityProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailIdentityProps>
A builder for
CfnEmailIdentityProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.configurationSetAttributes
(IResolvable configurationSetAttributes) Sets the value ofCfnEmailIdentityProps.getConfigurationSetAttributes()
configurationSetAttributes
(CfnEmailIdentity.ConfigurationSetAttributesProperty configurationSetAttributes) Sets the value ofCfnEmailIdentityProps.getConfigurationSetAttributes()
dkimAttributes
(IResolvable dkimAttributes) Sets the value ofCfnEmailIdentityProps.getDkimAttributes()
dkimAttributes
(CfnEmailIdentity.DkimAttributesProperty dkimAttributes) Sets the value ofCfnEmailIdentityProps.getDkimAttributes()
dkimSigningAttributes
(IResolvable dkimSigningAttributes) Sets the value ofCfnEmailIdentityProps.getDkimSigningAttributes()
dkimSigningAttributes
(CfnEmailIdentity.DkimSigningAttributesProperty dkimSigningAttributes) Sets the value ofCfnEmailIdentityProps.getDkimSigningAttributes()
emailIdentity
(String emailIdentity) Sets the value ofCfnEmailIdentityProps.getEmailIdentity()
feedbackAttributes
(IResolvable feedbackAttributes) Sets the value ofCfnEmailIdentityProps.getFeedbackAttributes()
feedbackAttributes
(CfnEmailIdentity.FeedbackAttributesProperty feedbackAttributes) Sets the value ofCfnEmailIdentityProps.getFeedbackAttributes()
mailFromAttributes
(IResolvable mailFromAttributes) Sets the value ofCfnEmailIdentityProps.getMailFromAttributes()
mailFromAttributes
(CfnEmailIdentity.MailFromAttributesProperty mailFromAttributes) Sets the value ofCfnEmailIdentityProps.getMailFromAttributes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
emailIdentity
Sets the value ofCfnEmailIdentityProps.getEmailIdentity()
- Parameters:
emailIdentity
- The email address or domain to verify. This parameter is required.- Returns:
this
-
configurationSetAttributes
@Stability(Stable) public CfnEmailIdentityProps.Builder configurationSetAttributes(IResolvable configurationSetAttributes) Sets the value ofCfnEmailIdentityProps.getConfigurationSetAttributes()
- Parameters:
configurationSetAttributes
- Used to associate a configuration set with an email identity.- Returns:
this
-
configurationSetAttributes
@Stability(Stable) public CfnEmailIdentityProps.Builder configurationSetAttributes(CfnEmailIdentity.ConfigurationSetAttributesProperty configurationSetAttributes) Sets the value ofCfnEmailIdentityProps.getConfigurationSetAttributes()
- Parameters:
configurationSetAttributes
- Used to associate a configuration set with an email identity.- Returns:
this
-
dkimAttributes
Sets the value ofCfnEmailIdentityProps.getDkimAttributes()
- Parameters:
dkimAttributes
- An object that contains information about the DKIM attributes for the identity.- Returns:
this
-
dkimAttributes
@Stability(Stable) public CfnEmailIdentityProps.Builder dkimAttributes(CfnEmailIdentity.DkimAttributesProperty dkimAttributes) Sets the value ofCfnEmailIdentityProps.getDkimAttributes()
- Parameters:
dkimAttributes
- An object that contains information about the DKIM attributes for the identity.- Returns:
this
-
dkimSigningAttributes
@Stability(Stable) public CfnEmailIdentityProps.Builder dkimSigningAttributes(IResolvable dkimSigningAttributes) Sets the value ofCfnEmailIdentityProps.getDkimSigningAttributes()
- Parameters:
dkimSigningAttributes
- If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM .- Returns:
this
-
dkimSigningAttributes
@Stability(Stable) public CfnEmailIdentityProps.Builder dkimSigningAttributes(CfnEmailIdentity.DkimSigningAttributesProperty dkimSigningAttributes) Sets the value ofCfnEmailIdentityProps.getDkimSigningAttributes()
- Parameters:
dkimSigningAttributes
- If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM .- Returns:
this
-
feedbackAttributes
@Stability(Stable) public CfnEmailIdentityProps.Builder feedbackAttributes(IResolvable feedbackAttributes) Sets the value ofCfnEmailIdentityProps.getFeedbackAttributes()
- Parameters:
feedbackAttributes
- Used to enable or disable feedback forwarding for an identity.- Returns:
this
-
feedbackAttributes
@Stability(Stable) public CfnEmailIdentityProps.Builder feedbackAttributes(CfnEmailIdentity.FeedbackAttributesProperty feedbackAttributes) Sets the value ofCfnEmailIdentityProps.getFeedbackAttributes()
- Parameters:
feedbackAttributes
- Used to enable or disable feedback forwarding for an identity.- Returns:
this
-
mailFromAttributes
@Stability(Stable) public CfnEmailIdentityProps.Builder mailFromAttributes(IResolvable mailFromAttributes) Sets the value ofCfnEmailIdentityProps.getMailFromAttributes()
- Parameters:
mailFromAttributes
- Used to enable or disable the custom Mail-From domain configuration for an email identity.- Returns:
this
-
mailFromAttributes
@Stability(Stable) public CfnEmailIdentityProps.Builder mailFromAttributes(CfnEmailIdentity.MailFromAttributesProperty mailFromAttributes) Sets the value ofCfnEmailIdentityProps.getMailFromAttributes()
- Parameters:
mailFromAttributes
- Used to enable or disable the custom Mail-From domain configuration for an email identity.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEmailIdentityProps>
- Returns:
- a new instance of
CfnEmailIdentityProps
- Throws:
NullPointerException
- if any required attribute was not provided
-