@Generated(value="software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Destination.Builder,Destination>
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.
Modifier and Type | Class and Description |
---|---|
static interface |
Destination.Builder |
Modifier and Type | Method and Description |
---|---|
List<String> |
bccAddresses()
The BCC: field(s) of the message.
|
static Destination.Builder |
builder() |
List<String> |
ccAddresses()
The CC: field(s) of the message.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Destination.Builder> |
serializableBuilderClass() |
List<String> |
toAddresses()
The To: field(s) of the message.
|
Destination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public List<String> toAddresses()
The To: field(s) of the message.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> ccAddresses()
The CC: field(s) of the message.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> bccAddresses()
The BCC: field(s) of the message.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Destination.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Destination.Builder,Destination>
public static Destination.Builder builder()
public static Class<? extends Destination.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.