@Stability(value=Stable) public static final class UserVerificationConfig.Builder extends Object implements software.amazon.jsii.Builder<UserVerificationConfig>
UserVerificationConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UserVerificationConfig |
build()
Builds the configured instance.
|
UserVerificationConfig.Builder |
emailBody(String emailBody)
Sets the value of
UserVerificationConfig.getEmailBody() |
UserVerificationConfig.Builder |
emailStyle(VerificationEmailStyle emailStyle)
Sets the value of
UserVerificationConfig.getEmailStyle() |
UserVerificationConfig.Builder |
emailSubject(String emailSubject)
Sets the value of
UserVerificationConfig.getEmailSubject() |
UserVerificationConfig.Builder |
smsMessage(String smsMessage)
Sets the value of
UserVerificationConfig.getSmsMessage() |
@Stability(value=Stable) public UserVerificationConfig.Builder emailBody(String emailBody)
UserVerificationConfig.getEmailBody()emailBody - The email body template for the verification email sent to the user upon sign up.
See https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-templates.html to
learn more about message templates.this@Stability(value=Stable) public UserVerificationConfig.Builder emailStyle(VerificationEmailStyle emailStyle)
UserVerificationConfig.getEmailStyle()emailStyle - Emails can be verified either using a code or a link.
Learn more at https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-email-verification-message-customization.htmlthis@Stability(value=Stable) public UserVerificationConfig.Builder emailSubject(String emailSubject)
UserVerificationConfig.getEmailSubject()emailSubject - The email subject template for the verification email sent to the user upon sign up.
See https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-templates.html to
learn more about message templates.this@Stability(value=Stable) public UserVerificationConfig.Builder smsMessage(String smsMessage)
UserVerificationConfig.getSmsMessage()smsMessage - The message template for the verification SMS sent to the user upon sign up.
See https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-templates.html to
learn more about message templates.this@Stability(value=Stable) public UserVerificationConfig build()
build in interface software.amazon.jsii.Builder<UserVerificationConfig>UserVerificationConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.