Interface EmailConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EmailConfiguration.Builder,EmailConfiguration>,SdkBuilder<EmailConfiguration.Builder,EmailConfiguration>,SdkPojo
- Enclosing class:
- EmailConfiguration
public static interface EmailConfiguration.Builder extends SdkPojo, CopyableBuilder<EmailConfiguration.Builder,EmailConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EmailConfiguration.Buildercontent(Consumer<EmailContent.Builder> content)Contains the subject and message of an email.EmailConfiguration.Buildercontent(EmailContent content)Contains the subject and message of an email.EmailConfiguration.Builderfrom(String from)The email address that sends emails.default EmailConfiguration.Builderrecipients(Consumer<EmailRecipients.Builder> recipients)Contains the information of one or more recipients who receive the emails.EmailConfiguration.Builderrecipients(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, sdkFields
-
-
-
-
Method Detail
-
from
EmailConfiguration.Builder from(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.
- 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
EmailConfiguration.Builder content(EmailContent 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
default EmailConfiguration.Builder content(Consumer<EmailContent.Builder> content)
Contains the subject and message of an email.
This is a convenience method that creates an instance of theEmailContent.Builderavoiding the need to create one manually viaEmailContent.builder().When the
Consumercompletes,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:
content(EmailContent)
-
recipients
EmailConfiguration.Builder recipients(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.
- 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
default EmailConfiguration.Builder recipients(Consumer<EmailRecipients.Builder> recipients)
Contains the information of one or more recipients who receive the emails.
This is a convenience method that creates an instance of theYou must add the users that receive emails to your AWS SSO store.
EmailRecipients.Builderavoiding the need to create one manually viaEmailRecipients.builder().When the
Consumercompletes,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:
recipients(EmailRecipients)
-
-