Interface CfnCampaign.CampaignEmailMessageProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCampaign.CampaignEmailMessageProperty.Jsii$Proxy
Enclosing class:
CfnCampaign

@Stability(Stable) public static interface CfnCampaign.CampaignEmailMessageProperty extends software.amazon.jsii.JsiiSerializable
Specifies the content and "From" address for an email message that's sent to recipients of a campaign.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.pinpoint.*;
 CampaignEmailMessageProperty campaignEmailMessageProperty = CampaignEmailMessageProperty.builder()
         .body("body")
         .fromAddress("fromAddress")
         .htmlBody("htmlBody")
         .title("title")
         .build();
 
  • Method Details

    • getBody

      @Stability(Stable) @Nullable default String getBody()
      The body of the email for recipients whose email clients don't render HTML content.
    • getFromAddress

      @Stability(Stable) @Nullable default String getFromAddress()
      The verified email address to send the email from.

      The default address is the FromAddress specified for the email channel for the application.

    • getHtmlBody

      @Stability(Stable) @Nullable default String getHtmlBody()
      The body of the email, in HTML format, for recipients whose email clients render HTML content.
    • getTitle

      @Stability(Stable) @Nullable default String getTitle()
      The subject line, or title, of the email.
    • builder

      @Stability(Stable) static CfnCampaign.CampaignEmailMessageProperty.Builder builder()
      Returns:
      a CfnCampaign.CampaignEmailMessageProperty.Builder of CfnCampaign.CampaignEmailMessageProperty