@Generated(value="software.amazon.awssdk:codegen") public final class EmailMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EmailMessage.Builder,EmailMessage>
Modifier and Type | Class and Description |
---|---|
static interface |
EmailMessage.Builder |
Modifier and Type | Method and Description |
---|---|
String |
body()
The body of the email message.
|
static EmailMessage.Builder |
builder() |
boolean |
equals(Object obj) |
String |
feedbackForwardingAddress()
The email address that bounces and complaints will be forwarded to when feedback forwarding is enabled.
|
String |
fromAddress()
The email address used to send the email from.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RawEmail |
rawEmail()
An email represented as a raw MIME message.
|
List<String> |
replyToAddresses()
The reply-to email address(es) for the email.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EmailMessage.Builder> |
serializableBuilderClass() |
SimpleEmail |
simpleEmail()
An email composed of a subject, a text part and a html part.
|
Map<String,List<String>> |
substitutions()
Default message substitutions.
|
EmailMessage.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String body()
public String feedbackForwardingAddress()
public String fromAddress()
public RawEmail rawEmail()
public List<String> replyToAddresses()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public SimpleEmail simpleEmail()
public Map<String,List<String>> substitutions()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public EmailMessage.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EmailMessage.Builder,EmailMessage>
public static EmailMessage.Builder builder()
public static Class<? extends EmailMessage.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.