Class CfnEmailChannel.Builder

java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnEmailChannel.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailChannel>
Enclosing class:
CfnEmailChannel

@Stability(Stable) public static final class CfnEmailChannel.Builder extends Object implements software.amazon.jsii.Builder<CfnEmailChannel>
A fluent builder for CfnEmailChannel.
  • Method Details

    • create

      @Stability(Stable) public static CfnEmailChannel.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnEmailChannel.Builder.
    • applicationId

      @Stability(Stable) public CfnEmailChannel.Builder applicationId(String applicationId)
      The unique identifier for the Amazon Pinpoint application that you're specifying the email channel for.

      Parameters:
      applicationId - The unique identifier for the Amazon Pinpoint application that you're specifying the email channel for. This parameter is required.
      Returns:
      this
    • fromAddress

      @Stability(Stable) public CfnEmailChannel.Builder fromAddress(String fromAddress)
      The verified email address that you want to send email from when you send email through the channel.

      Parameters:
      fromAddress - The verified email address that you want to send email from when you send email through the channel. This parameter is required.
      Returns:
      this
    • identity

      @Stability(Stable) public CfnEmailChannel.Builder identity(String identity)
      The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.

      Parameters:
      identity - The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel. This parameter is required.
      Returns:
      this
    • configurationSet

      @Stability(Stable) public CfnEmailChannel.Builder configurationSet(String configurationSet)
      The Amazon SES configuration set that you want to apply to messages that you send through the channel.

      Parameters:
      configurationSet - The Amazon SES configuration set that you want to apply to messages that you send through the channel. This parameter is required.
      Returns:
      this
    • enabled

      @Stability(Stable) public CfnEmailChannel.Builder enabled(Boolean enabled)
      Specifies whether to enable the email channel for the application.

      Parameters:
      enabled - Specifies whether to enable the email channel for the application. This parameter is required.
      Returns:
      this
    • enabled

      @Stability(Stable) public CfnEmailChannel.Builder enabled(IResolvable enabled)
      Specifies whether to enable the email channel for the application.

      Parameters:
      enabled - Specifies whether to enable the email channel for the application. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnEmailChannel.Builder roleArn(String roleArn)
      The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.

      Parameters:
      roleArn - The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnEmailChannel build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnEmailChannel>
      Returns:
      a newly built instance of CfnEmailChannel.