public static final class CfnUserPool.VerificationMessageTemplateProperty.Builder
extends java.lang.Object
CfnUserPool.VerificationMessageTemplateProperty
Constructor and Description |
---|
Builder() |
public CfnUserPool.VerificationMessageTemplateProperty.Builder defaultEmailOption(java.lang.String defaultEmailOption)
CfnUserPool.VerificationMessageTemplateProperty.getDefaultEmailOption()
defaultEmailOption
- The default email option.this
public CfnUserPool.VerificationMessageTemplateProperty.Builder emailMessage(java.lang.String emailMessage)
CfnUserPool.VerificationMessageTemplateProperty.getEmailMessage()
emailMessage
- The template for email messages that Amazon Cognito sends to your users.
You can set an EmailMessage
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.this
public CfnUserPool.VerificationMessageTemplateProperty.Builder emailMessageByLink(java.lang.String emailMessageByLink)
CfnUserPool.VerificationMessageTemplateProperty.getEmailMessageByLink()
emailMessageByLink
- The email message template for sending a confirmation link to the user.
You can set an EmailMessageByLink
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.this
public CfnUserPool.VerificationMessageTemplateProperty.Builder emailSubject(java.lang.String emailSubject)
CfnUserPool.VerificationMessageTemplateProperty.getEmailSubject()
emailSubject
- The subject line for the email message template.
You can set an EmailSubject
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.this
public CfnUserPool.VerificationMessageTemplateProperty.Builder emailSubjectByLink(java.lang.String emailSubjectByLink)
CfnUserPool.VerificationMessageTemplateProperty.getEmailSubjectByLink()
emailSubjectByLink
- The subject line for the email message template for sending a confirmation link to the user.
You can set an EmailSubjectByLink
template only if the value of EmailSendingAccount is DEVELOPER
. When your EmailSendingAccount is DEVELOPER
, your user pool sends email messages with your own Amazon SES configuration.this
public CfnUserPool.VerificationMessageTemplateProperty.Builder smsMessage(java.lang.String smsMessage)
CfnUserPool.VerificationMessageTemplateProperty.getSmsMessage()
smsMessage
- The template for SMS messages that Amazon Cognito sends to your users.this
public CfnUserPool.VerificationMessageTemplateProperty build()
CfnUserPool.VerificationMessageTemplateProperty
java.lang.NullPointerException
- if any required attribute was not provided