|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.simpleemail.model.Destination
public class 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
.
Constructor Summary | |
---|---|
Destination()
Default constructor for a new Destination object. |
|
Destination(java.util.List<java.lang.String> toAddresses)
Constructs a new Destination object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getBccAddresses()
The BCC: field(s) of the message. |
java.util.List<java.lang.String> |
getCcAddresses()
The CC: field(s) of the message. |
java.util.List<java.lang.String> |
getToAddresses()
The To: field(s) of the message. |
int |
hashCode()
|
void |
setBccAddresses(java.util.Collection<java.lang.String> bccAddresses)
The BCC: field(s) of the message. |
void |
setCcAddresses(java.util.Collection<java.lang.String> ccAddresses)
The CC: field(s) of the message. |
void |
setToAddresses(java.util.Collection<java.lang.String> toAddresses)
The To: field(s) of the message. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Destination |
withBccAddresses(java.util.Collection<java.lang.String> bccAddresses)
The BCC: field(s) of the message. |
Destination |
withBccAddresses(java.lang.String... bccAddresses)
The BCC: field(s) of the message. |
Destination |
withCcAddresses(java.util.Collection<java.lang.String> ccAddresses)
The CC: field(s) of the message. |
Destination |
withCcAddresses(java.lang.String... ccAddresses)
The CC: field(s) of the message. |
Destination |
withToAddresses(java.util.Collection<java.lang.String> toAddresses)
The To: field(s) of the message. |
Destination |
withToAddresses(java.lang.String... toAddresses)
The To: field(s) of the message. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Destination()
public Destination(java.util.List<java.lang.String> toAddresses)
toAddresses
- The To: field(s) of the message.Method Detail |
---|
public java.util.List<java.lang.String> getToAddresses()
public void setToAddresses(java.util.Collection<java.lang.String> toAddresses)
toAddresses
- The To: field(s) of the message.public Destination withToAddresses(java.lang.String... toAddresses)
Returns a reference to this object so that method calls can be chained together.
toAddresses
- The To: field(s) of the message.
public Destination withToAddresses(java.util.Collection<java.lang.String> toAddresses)
Returns a reference to this object so that method calls can be chained together.
toAddresses
- The To: field(s) of the message.
public java.util.List<java.lang.String> getCcAddresses()
public void setCcAddresses(java.util.Collection<java.lang.String> ccAddresses)
ccAddresses
- The CC: field(s) of the message.public Destination withCcAddresses(java.lang.String... ccAddresses)
Returns a reference to this object so that method calls can be chained together.
ccAddresses
- The CC: field(s) of the message.
public Destination withCcAddresses(java.util.Collection<java.lang.String> ccAddresses)
Returns a reference to this object so that method calls can be chained together.
ccAddresses
- The CC: field(s) of the message.
public java.util.List<java.lang.String> getBccAddresses()
public void setBccAddresses(java.util.Collection<java.lang.String> bccAddresses)
bccAddresses
- The BCC: field(s) of the message.public Destination withBccAddresses(java.lang.String... bccAddresses)
Returns a reference to this object so that method calls can be chained together.
bccAddresses
- The BCC: field(s) of the message.
public Destination withBccAddresses(java.util.Collection<java.lang.String> bccAddresses)
Returns a reference to this object so that method calls can be chained together.
bccAddresses
- The BCC: field(s) of the message.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |