Interface EmailConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EmailConfiguration.Builder,
,EmailConfiguration> SdkBuilder<EmailConfiguration.Builder,
,EmailConfiguration> SdkPojo
- Enclosing class:
EmailConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault EmailConfiguration.Builder
content
(Consumer<EmailContent.Builder> content) Contains the subject and message of an email.content
(EmailContent content) Contains the subject and message of an email.The email address that sends emails.default EmailConfiguration.Builder
recipients
(Consumer<EmailRecipients.Builder> recipients) Contains the information of one or more recipients who receive the emails.recipients
(EmailRecipients recipients) Contains the information of one or more recipients who receive the emails.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Contains the subject and message of an email.
- Parameters:
content
- Contains the subject and message of an email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Contains the subject and message of an email.
This is a convenience method that creates an instance of theEmailContent.Builder
avoiding the need to create one manually viaEmailContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(EmailContent)
.- Parameters:
content
- a consumer that will call methods onEmailContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
EmailRecipients.Builder
avoiding the need to create one manually viaEmailRecipients.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecipients(EmailRecipients)
.- Parameters:
recipients
- a consumer that will call methods onEmailRecipients.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-