Class CfnEmailChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnEmailChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailChannelProps>
- Enclosing interface:
CfnEmailChannelProps
@Stability(Stable)
public static final class CfnEmailChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailChannelProps>
A builder for
CfnEmailChannelProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) Sets the value ofCfnEmailChannelProps.getApplicationId()
build()
Builds the configured instance.configurationSet
(String configurationSet) Sets the value ofCfnEmailChannelProps.getConfigurationSet()
Sets the value ofCfnEmailChannelProps.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnEmailChannelProps.getEnabled()
fromAddress
(String fromAddress) Sets the value ofCfnEmailChannelProps.getFromAddress()
Sets the value ofCfnEmailChannelProps.getIdentity()
orchestrationSendingRoleArn
(String orchestrationSendingRoleArn) Sets the value ofCfnEmailChannelProps.getOrchestrationSendingRoleArn()
Sets the value ofCfnEmailChannelProps.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnEmailChannelProps.getApplicationId()
- 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
Sets the value ofCfnEmailChannelProps.getFromAddress()
- 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
Sets the value ofCfnEmailChannelProps.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. This parameter is required.- Returns:
this
-
configurationSet
Sets the value ofCfnEmailChannelProps.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 ofCfnEmailChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether to enable the email channel for the application.- Returns:
this
-
enabled
Sets the value ofCfnEmailChannelProps.getEnabled()
- Parameters:
enabled
- Specifies whether to enable the email channel for the application.- Returns:
this
-
orchestrationSendingRoleArn
@Stability(Stable) public CfnEmailChannelProps.Builder orchestrationSendingRoleArn(String orchestrationSendingRoleArn) Sets the value ofCfnEmailChannelProps.getOrchestrationSendingRoleArn()
- Parameters:
orchestrationSendingRoleArn
- the value to be set.- Returns:
this
-
roleArn
Sets the value ofCfnEmailChannelProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnEmailChannelProps>
- Returns:
- a new instance of
CfnEmailChannelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-