Class CfnEmailChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnEmailChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailChannelMixinProps>
- Enclosing interface:
CfnEmailChannelMixinProps
@Stability(Stable)
public static final class CfnEmailChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailChannelMixinProps>
A builder for
CfnEmailChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnEmailChannelMixinProps.getApplicationId()build()Builds the configured instance.configurationSet(String configurationSet) Sets the value ofCfnEmailChannelMixinProps.getConfigurationSet()Sets the value ofCfnEmailChannelMixinProps.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnEmailChannelMixinProps.getEnabled()fromAddress(String fromAddress) Sets the value ofCfnEmailChannelMixinProps.getFromAddress()Sets the value ofCfnEmailChannelMixinProps.getIdentity()orchestrationSendingRoleArn(String orchestrationSendingRoleArn) Sets the value ofCfnEmailChannelMixinProps.getOrchestrationSendingRoleArn()Sets the value ofCfnEmailChannelMixinProps.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnEmailChannelMixinProps.getApplicationId()- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application that you're specifying the email channel for.- Returns:
this
-
configurationSet
@Stability(Stable) public CfnEmailChannelMixinProps.Builder configurationSet(String configurationSet) Sets the value ofCfnEmailChannelMixinProps.getConfigurationSet()- Parameters:
configurationSet- The Amazon SES configuration set that you want to apply to messages that you send through the channel.- Returns:
this
-
enabled
Sets the value ofCfnEmailChannelMixinProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the email channel for the application.- Returns:
this
-
enabled
Sets the value ofCfnEmailChannelMixinProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the email channel for the application.- Returns:
this
-
fromAddress
Sets the value ofCfnEmailChannelMixinProps.getFromAddress()- Parameters:
fromAddress- The verified email address that you want to send email from when you send email through the channel.- Returns:
this
-
identity
Sets the value ofCfnEmailChannelMixinProps.getIdentity()- 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.- Returns:
this
-
orchestrationSendingRoleArn
@Stability(Stable) public CfnEmailChannelMixinProps.Builder orchestrationSendingRoleArn(String orchestrationSendingRoleArn) Sets the value ofCfnEmailChannelMixinProps.getOrchestrationSendingRoleArn()- Parameters:
orchestrationSendingRoleArn- The ARN of an IAM role for Amazon Pinpoint to use to send email from your campaigns or journeys through Amazon SES .- Returns:
this
-
roleArn
Sets the value ofCfnEmailChannelMixinProps.getRoleArn()- 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEmailChannelMixinProps>- Returns:
- a new instance of
CfnEmailChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-