@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBccAddresses()
Returns true if the BccAddresses property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasCcAddresses()
Returns true if the CcAddresses property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasToAddresses()
Returns true if the ToAddresses property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final boolean hasToAddresses()
public final 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.
You can use hasToAddresses()
to see if a value was sent in this field.
public final boolean hasCcAddresses()
public final 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.
You can use hasCcAddresses()
to see if a value was sent in this field.
public final boolean hasBccAddresses()
public final 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.
You can use hasBccAddresses()
to see if a value was sent in this field.
public Destination.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Destination.Builder,Destination>
public static Destination.Builder builder()
public static Class<? extends Destination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.