Class CfnEmailIdentity.FeedbackAttributesProperty.Builder

java.lang.Object
software.amazon.awscdk.services.ses.CfnEmailIdentity.FeedbackAttributesProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailIdentity.FeedbackAttributesProperty>
Enclosing interface:
CfnEmailIdentity.FeedbackAttributesProperty

@Stability(Stable) public static final class CfnEmailIdentity.FeedbackAttributesProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEmailIdentity.FeedbackAttributesProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • emailForwardingEnabled

      @Stability(Stable) public CfnEmailIdentity.FeedbackAttributesProperty.Builder emailForwardingEnabled(Boolean emailForwardingEnabled)
      Parameters:
      emailForwardingEnabled - Sets the feedback forwarding configuration for the identity. If the value is true , you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email.

      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 (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).

      Returns:
      this
    • emailForwardingEnabled

      @Stability(Stable) public CfnEmailIdentity.FeedbackAttributesProperty.Builder emailForwardingEnabled(IResolvable emailForwardingEnabled)
      Parameters:
      emailForwardingEnabled - Sets the feedback forwarding configuration for the identity. If the value is true , you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email.

      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 (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).

      Returns:
      this
    • build

      @Stability(Stable) public CfnEmailIdentity.FeedbackAttributesProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnEmailIdentity.FeedbackAttributesProperty>
      Returns:
      a new instance of CfnEmailIdentity.FeedbackAttributesProperty
      Throws:
      NullPointerException - if any required attribute was not provided