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 Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The unique identifier for the Amazon Pinpoint application that you're specifying the email channel for.build()
configurationSet
(String configurationSet) The Amazon SES configuration set that you want to apply to messages that you send through the channel.static CfnEmailChannel.Builder
Specifies whether to enable the email channel for the application.enabled
(IResolvable enabled) Specifies whether to enable the email channel for the application.fromAddress
(String fromAddress) The verified email address that you want to send email from when you send email through the channel.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.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.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnEmailChannel.Builder
.
-
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
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
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
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
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
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEmailChannel>
- Returns:
- a newly built instance of
CfnEmailChannel
.
-