@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmailRecipients extends Object implements Serializable, Cloneable, StructuredPojo
Contains the information of one or more recipients who receive the emails.
You must add the users that receive emails to your AWS SSO store.
Constructor and Description |
---|
EmailRecipients() |
Modifier and Type | Method and Description |
---|---|
EmailRecipients |
clone() |
boolean |
equals(Object obj) |
List<RecipientDetail> |
getTo()
Specifies one or more recipients who receive the email.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTo(Collection<RecipientDetail> to)
Specifies one or more recipients who receive the email.
|
String |
toString()
Returns a string representation of this object.
|
EmailRecipients |
withTo(Collection<RecipientDetail> to)
Specifies one or more recipients who receive the email.
|
EmailRecipients |
withTo(RecipientDetail... to)
Specifies one or more recipients who receive the email.
|
public List<RecipientDetail> getTo()
Specifies one or more recipients who receive the email.
public void setTo(Collection<RecipientDetail> to)
Specifies one or more recipients who receive the email.
to
- Specifies one or more recipients who receive the email.public EmailRecipients withTo(RecipientDetail... to)
Specifies one or more recipients who receive the email.
NOTE: This method appends the values to the existing list (if any). Use
setTo(java.util.Collection)
or withTo(java.util.Collection)
if you want to override the
existing values.
to
- Specifies one or more recipients who receive the email.public EmailRecipients withTo(Collection<RecipientDetail> to)
Specifies one or more recipients who receive the email.
to
- Specifies one or more recipients who receive the email.public String toString()
toString
in class Object
Object.toString()
public EmailRecipients clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.