@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EmailConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains the configuration information of email notifications.
Constructor and Description |
---|
EmailConfiguration() |
Modifier and Type | Method and Description |
---|---|
EmailConfiguration |
clone() |
boolean |
equals(Object obj) |
EmailContent |
getContent()
Contains the subject and message of an email.
|
String |
getFrom()
The email address that sends emails.
|
EmailRecipients |
getRecipients()
Contains the information of one or more recipients who receive the emails.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContent(EmailContent content)
Contains the subject and message of an email.
|
void |
setFrom(String from)
The email address that sends emails.
|
void |
setRecipients(EmailRecipients recipients)
Contains the information of one or more recipients who receive the emails.
|
String |
toString()
Returns a string representation of this object.
|
EmailConfiguration |
withContent(EmailContent content)
Contains the subject and message of an email.
|
EmailConfiguration |
withFrom(String from)
The email address that sends emails.
|
EmailConfiguration |
withRecipients(EmailRecipients recipients)
Contains the information of one or more recipients who receive the emails.
|
public void setFrom(String from)
The email address that sends emails.
If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the email address that sends emails in Amazon SES.
from
- The email address that sends emails. If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the email address that sends emails in Amazon SES.
public String getFrom()
The email address that sends emails.
If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the email address that sends emails in Amazon SES.
If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the email address that sends emails in Amazon SES.
public EmailConfiguration withFrom(String from)
The email address that sends emails.
If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the email address that sends emails in Amazon SES.
from
- The email address that sends emails. If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the email address that sends emails in Amazon SES.
public void setContent(EmailContent content)
Contains the subject and message of an email.
content
- Contains the subject and message of an email.public EmailContent getContent()
Contains the subject and message of an email.
public EmailConfiguration withContent(EmailContent content)
Contains the subject and message of an email.
content
- Contains the subject and message of an email.public void setRecipients(EmailRecipients recipients)
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.
recipients
- 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.
public EmailRecipients getRecipients()
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.
You must add the users that receive emails to your AWS SSO store.
public EmailConfiguration withRecipients(EmailRecipients recipients)
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.
recipients
- 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.
public String toString()
toString
in class Object
Object.toString()
public EmailConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.