|
|||||||
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.
Constructor Summary | |
---|---|
Destination()
Default constructor for a new Destination object. |
|
Destination(List<String> toAddresses)
Constructs a new Destination object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getBccAddresses()
The BCC: field(s) of the message. |
List<String> |
getCcAddresses()
The CC: field(s) of the message. |
List<String> |
getToAddresses()
The To: field(s) of the message. |
int |
hashCode()
|
void |
setBccAddresses(Collection<String> bccAddresses)
The BCC: field(s) of the message. |
void |
setCcAddresses(Collection<String> ccAddresses)
The CC: field(s) of the message. |
void |
setToAddresses(Collection<String> toAddresses)
The To: field(s) of the message. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Destination |
withBccAddresses(Collection<String> bccAddresses)
The BCC: field(s) of the message. |
Destination |
withBccAddresses(String... bccAddresses)
The BCC: field(s) of the message. |
Destination |
withCcAddresses(Collection<String> ccAddresses)
The CC: field(s) of the message. |
Destination |
withCcAddresses(String... ccAddresses)
The CC: field(s) of the message. |
Destination |
withToAddresses(Collection<String> toAddresses)
The To: field(s) of the message. |
Destination |
withToAddresses(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(List<String> toAddresses)
toAddresses
- The To: field(s) of the message.Method Detail |
---|
public List<String> getToAddresses()
public void setToAddresses(Collection<String> toAddresses)
toAddresses
- The To: field(s) of the message.public Destination withToAddresses(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(Collection<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 List<String> getCcAddresses()
public void setCcAddresses(Collection<String> ccAddresses)
ccAddresses
- The CC: field(s) of the message.public Destination withCcAddresses(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(Collection<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 List<String> getBccAddresses()
public void setBccAddresses(Collection<String> bccAddresses)
bccAddresses
- The BCC: field(s) of the message.public Destination withBccAddresses(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(Collection<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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |