@Generated(value="software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Destination.Builder,Destination>
An object that describes the recipients for an email.
Modifier and Type | Class and Description |
---|---|
static interface |
Destination.Builder |
Modifier and Type | Method and Description |
---|---|
List<String> |
bccAddresses()
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
|
static Destination.Builder |
builder() |
List<String> |
ccAddresses()
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
|
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()
An array that contains the email addresses of the "To" recipients for the email.
|
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()
An array that contains the email addresses of the "To" recipients for the email.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> ccAddresses()
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> bccAddresses()
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
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.