@Generated(value="software.amazon.awssdk:codegen") public class Destination extends Object implements ToCopyableBuilder<Destination.Builder,Destination>
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
By default, the string must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME
encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form:
=?charset?encoding?encoded-text?=
. For more information, see RFC 2047.
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() |
static Class<? extends Destination.Builder> |
serializableBuilderClass() |
List<String> |
toAddresses()
The To: field(s) of the message.
|
Destination.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Destination.Builder,Destination>
public static Destination.Builder builder()
public static Class<? extends Destination.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.