@Stability(value=Stable) public static final class CfnCampaign.CampaignEmailMessageProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCampaign.CampaignEmailMessageProperty>
CfnCampaign.CampaignEmailMessageProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCampaign.CampaignEmailMessageProperty.Builder |
body(String body)
Sets the value of
CfnCampaign.CampaignEmailMessageProperty.getBody() |
CfnCampaign.CampaignEmailMessageProperty |
build()
Builds the configured instance.
|
CfnCampaign.CampaignEmailMessageProperty.Builder |
fromAddress(String fromAddress)
Sets the value of
CfnCampaign.CampaignEmailMessageProperty.getFromAddress() |
CfnCampaign.CampaignEmailMessageProperty.Builder |
htmlBody(String htmlBody)
Sets the value of
CfnCampaign.CampaignEmailMessageProperty.getHtmlBody() |
CfnCampaign.CampaignEmailMessageProperty.Builder |
title(String title)
Sets the value of
CfnCampaign.CampaignEmailMessageProperty.getTitle() |
@Stability(value=Stable) public CfnCampaign.CampaignEmailMessageProperty.Builder body(String body)
CfnCampaign.CampaignEmailMessageProperty.getBody()body - The body of the email for recipients whose email clients don't render HTML content.this@Stability(value=Stable) public CfnCampaign.CampaignEmailMessageProperty.Builder fromAddress(String fromAddress)
CfnCampaign.CampaignEmailMessageProperty.getFromAddress()fromAddress - The verified email address to send the email from.
The default address is the FromAddress specified for the email channel for the application.this@Stability(value=Stable) public CfnCampaign.CampaignEmailMessageProperty.Builder htmlBody(String htmlBody)
CfnCampaign.CampaignEmailMessageProperty.getHtmlBody()htmlBody - The body of the email, in HTML format, for recipients whose email clients render HTML content.this@Stability(value=Stable) public CfnCampaign.CampaignEmailMessageProperty.Builder title(String title)
CfnCampaign.CampaignEmailMessageProperty.getTitle()title - The subject line, or title, of the email.this@Stability(value=Stable) public CfnCampaign.CampaignEmailMessageProperty build()
build in interface software.amazon.jsii.Builder<CfnCampaign.CampaignEmailMessageProperty>CfnCampaign.CampaignEmailMessagePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.