@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Destination extends Object implements Serializable, Cloneable, StructuredPojo
An object that describes the recipients for an email.
Constructor and Description |
---|
Destination() |
Modifier and Type | Method and Description |
---|---|
Destination |
clone() |
boolean |
equals(Object obj) |
List<String> |
getBccAddresses()
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
|
List<String> |
getCcAddresses()
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
|
List<String> |
getToAddresses()
An array that contains the email addresses of the "To" recipients for the email.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBccAddresses(Collection<String> bccAddresses)
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
|
void |
setCcAddresses(Collection<String> ccAddresses)
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
|
void |
setToAddresses(Collection<String> toAddresses)
An array that contains the email addresses of the "To" recipients for the email.
|
String |
toString()
Returns a string representation of this object.
|
Destination |
withBccAddresses(Collection<String> bccAddresses)
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
|
Destination |
withBccAddresses(String... bccAddresses)
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
|
Destination |
withCcAddresses(Collection<String> ccAddresses)
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
|
Destination |
withCcAddresses(String... ccAddresses)
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
|
Destination |
withToAddresses(Collection<String> toAddresses)
An array that contains the email addresses of the "To" recipients for the email.
|
Destination |
withToAddresses(String... toAddresses)
An array that contains the email addresses of the "To" recipients for the email.
|
public List<String> getToAddresses()
An array that contains the email addresses of the "To" recipients for the email.
public void setToAddresses(Collection<String> toAddresses)
An array that contains the email addresses of the "To" recipients for the email.
toAddresses
- An array that contains the email addresses of the "To" recipients for the email.public Destination withToAddresses(String... toAddresses)
An array that contains the email addresses of the "To" recipients for the email.
NOTE: This method appends the values to the existing list (if any). Use
setToAddresses(java.util.Collection)
or withToAddresses(java.util.Collection)
if you want to
override the existing values.
toAddresses
- An array that contains the email addresses of the "To" recipients for the email.public Destination withToAddresses(Collection<String> toAddresses)
An array that contains the email addresses of the "To" recipients for the email.
toAddresses
- An array that contains the email addresses of the "To" recipients for the email.public List<String> getCcAddresses()
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
public void setCcAddresses(Collection<String> ccAddresses)
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
ccAddresses
- An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.public Destination withCcAddresses(String... ccAddresses)
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
NOTE: This method appends the values to the existing list (if any). Use
setCcAddresses(java.util.Collection)
or withCcAddresses(java.util.Collection)
if you want to
override the existing values.
ccAddresses
- An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.public Destination withCcAddresses(Collection<String> ccAddresses)
An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.
ccAddresses
- An array that contains the email addresses of the "CC" (carbon copy) recipients for the email.public List<String> getBccAddresses()
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
public void setBccAddresses(Collection<String> bccAddresses)
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
bccAddresses
- An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.public Destination withBccAddresses(String... bccAddresses)
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
NOTE: This method appends the values to the existing list (if any). Use
setBccAddresses(java.util.Collection)
or withBccAddresses(java.util.Collection)
if you want to
override the existing values.
bccAddresses
- An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.public Destination withBccAddresses(Collection<String> bccAddresses)
An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.
bccAddresses
- An array that contains the email addresses of the "BCC" (blind carbon copy) recipients for the email.public String toString()
toString
in class Object
Object.toString()
public Destination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.