@Generated(value="software.amazon.awssdk:codegen") public final class CampaignEmailMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CampaignEmailMessage.Builder,CampaignEmailMessage>
Specifies the content and "From" address for an email message that's sent to recipients of a campaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CampaignEmailMessage.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
body()
The body of the email for recipients whose email clients don't support HTML content.
|
static CampaignEmailMessage.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fromAddress()
The verified email address to send the email from.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
htmlBody()
The body of the email, in HTML format, for recipients whose email clients support HTML content.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CampaignEmailMessage.Builder> |
serializableBuilderClass() |
String |
title()
The subject line, or title, of the email.
|
CampaignEmailMessage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String body()
The body of the email for recipients whose email clients don't support HTML content.
public String fromAddress()
The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.
public String htmlBody()
The body of the email, in HTML format, for recipients whose email clients support HTML content.
public String title()
The subject line, or title, of the email.
public CampaignEmailMessage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CampaignEmailMessage.Builder,CampaignEmailMessage>public static CampaignEmailMessage.Builder builder()
public static Class<? extends CampaignEmailMessage.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.