Class CfnIdentityMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityMixinProps>
- Enclosing interface:
CfnIdentityMixinProps
CfnIdentityMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dkimSigningEnabled(Boolean dkimSigningEnabled) Sets the value ofCfnIdentityMixinProps.getDkimSigningEnabled()dkimSigningEnabled(IResolvable dkimSigningEnabled) Sets the value ofCfnIdentityMixinProps.getDkimSigningEnabled()feedbackForwardingEnabled(Boolean feedbackForwardingEnabled) Sets the value ofCfnIdentityMixinProps.getFeedbackForwardingEnabled()feedbackForwardingEnabled(IResolvable feedbackForwardingEnabled) Sets the value ofCfnIdentityMixinProps.getFeedbackForwardingEnabled()mailFromAttributes(CfnIdentityPropsMixin.MailFromAttributesProperty mailFromAttributes) Sets the value ofCfnIdentityMixinProps.getMailFromAttributes()mailFromAttributes(IResolvable mailFromAttributes) Sets the value ofCfnIdentityMixinProps.getMailFromAttributes()Sets the value ofCfnIdentityMixinProps.getName()Sets the value ofCfnIdentityMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dkimSigningEnabled
@Stability(Stable) public CfnIdentityMixinProps.Builder dkimSigningEnabled(Boolean dkimSigningEnabled) Sets the value ofCfnIdentityMixinProps.getDkimSigningEnabled()- Parameters:
dkimSigningEnabled- For domain identities, this attribute is used to enable or disable DomainKeys Identified Mail (DKIM) signing for the domain. If the value istrue, then the messages that you send from the domain are signed using both the DKIM keys for your domain, as well as the keys for theamazonses.comdomain. If the value isfalse, then the messages that you send are only signed using the DKIM keys for theamazonses.comdomain.- Returns:
this
-
dkimSigningEnabled
@Stability(Stable) public CfnIdentityMixinProps.Builder dkimSigningEnabled(IResolvable dkimSigningEnabled) Sets the value ofCfnIdentityMixinProps.getDkimSigningEnabled()- Parameters:
dkimSigningEnabled- For domain identities, this attribute is used to enable or disable DomainKeys Identified Mail (DKIM) signing for the domain. If the value istrue, then the messages that you send from the domain are signed using both the DKIM keys for your domain, as well as the keys for theamazonses.comdomain. If the value isfalse, then the messages that you send are only signed using the DKIM keys for theamazonses.comdomain.- Returns:
this
-
feedbackForwardingEnabled
@Stability(Stable) public CfnIdentityMixinProps.Builder feedbackForwardingEnabled(Boolean feedbackForwardingEnabled) Sets the value ofCfnIdentityMixinProps.getFeedbackForwardingEnabled()- Parameters:
feedbackForwardingEnabled- Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.When you enable feedback forwarding, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.
When you disable feedback forwarding, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).
- Returns:
this
-
feedbackForwardingEnabled
@Stability(Stable) public CfnIdentityMixinProps.Builder feedbackForwardingEnabled(IResolvable feedbackForwardingEnabled) Sets the value ofCfnIdentityMixinProps.getFeedbackForwardingEnabled()- Parameters:
feedbackForwardingEnabled- Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.When you enable feedback forwarding, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.
When you disable feedback forwarding, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).
- Returns:
this
-
mailFromAttributes
@Stability(Stable) public CfnIdentityMixinProps.Builder mailFromAttributes(IResolvable mailFromAttributes) Sets the value ofCfnIdentityMixinProps.getMailFromAttributes()- Parameters:
mailFromAttributes- Used to enable or disable the custom Mail-From domain configuration for an email identity.- Returns:
this
-
mailFromAttributes
@Stability(Stable) public CfnIdentityMixinProps.Builder mailFromAttributes(CfnIdentityPropsMixin.MailFromAttributesProperty mailFromAttributes) Sets the value ofCfnIdentityMixinProps.getMailFromAttributes()- Parameters:
mailFromAttributes- Used to enable or disable the custom Mail-From domain configuration for an email identity.- Returns:
this
-
name
Sets the value ofCfnIdentityMixinProps.getName()- Parameters:
name- The address or domain of the identity, such as sender@example.com or example.co.uk .- Returns:
this
-
tags
Sets the value ofCfnIdentityMixinProps.getTags()- Parameters:
tags- An object that defines the tags (keys and values) that you want to associate with the email identity.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentityMixinProps>- Returns:
- a new instance of
CfnIdentityMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-