@Stability(value=Stable) public static final class UserPoolSESOptions.Builder extends Object implements software.amazon.jsii.Builder<UserPoolSESOptions>
UserPoolSESOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UserPoolSESOptions |
build()
Builds the configured instance.
|
UserPoolSESOptions.Builder |
configurationSetName(String configurationSetName)
Sets the value of
UserPoolSESOptions.getConfigurationSetName() |
UserPoolSESOptions.Builder |
fromEmail(String fromEmail)
Sets the value of
UserPoolSESOptions.getFromEmail() |
UserPoolSESOptions.Builder |
fromName(String fromName)
Sets the value of
UserPoolSESOptions.getFromName() |
UserPoolSESOptions.Builder |
replyTo(String replyTo)
Sets the value of
UserPoolSESOptions.getReplyTo() |
UserPoolSESOptions.Builder |
sesRegion(String sesRegion)
Sets the value of
UserPoolSESOptions.getSesRegion() |
UserPoolSESOptions.Builder |
sesVerifiedDomain(String sesVerifiedDomain)
Sets the value of
UserPoolSESOptions.getSesVerifiedDomain() |
@Stability(value=Stable) public UserPoolSESOptions.Builder fromEmail(String fromEmail)
UserPoolSESOptions.getFromEmail()fromEmail - The verified Amazon SES email address that Cognito should use to send emails. This parameter is required.
The email address used must be a verified email address
in Amazon SES and must be configured to allow Cognito to
send emails.this@Stability(value=Stable) public UserPoolSESOptions.Builder configurationSetName(String configurationSetName)
UserPoolSESOptions.getConfigurationSetName()configurationSetName - The name of a configuration set in Amazon SES that should be applied to emails sent via Cognito.this@Stability(value=Stable) public UserPoolSESOptions.Builder fromName(String fromName)
UserPoolSESOptions.getFromName()fromName - An optional name that should be used as the sender's name along with the email.this@Stability(value=Stable) public UserPoolSESOptions.Builder replyTo(String replyTo)
UserPoolSESOptions.getReplyTo()replyTo - The destination to which the receiver of the email should reploy to.this@Stability(value=Stable) public UserPoolSESOptions.Builder sesRegion(String sesRegion)
UserPoolSESOptions.getSesRegion()sesRegion - Required if the UserPool region is different than the SES region.
If sending emails with a Amazon SES verified email address,
and the region that SES is configured is different than the
region in which the UserPool is deployed, you must specify that
region here.
Must be 'us-east-1', 'us-west-2', or 'eu-west-1'
this@Stability(value=Stable) public UserPoolSESOptions.Builder sesVerifiedDomain(String sesVerifiedDomain)
UserPoolSESOptions.getSesVerifiedDomain()sesVerifiedDomain - SES Verified custom domain to be used to verify the identity.this@Stability(value=Stable) public UserPoolSESOptions build()
build in interface software.amazon.jsii.Builder<UserPoolSESOptions>UserPoolSESOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.