public class VerificationMessageTemplateType
extends java.lang.Object
implements java.io.Serializable
The template for verification messages.
| Constructor and Description |
|---|
VerificationMessageTemplateType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDefaultEmailOption()
The default email option.
|
java.lang.String |
getEmailMessage()
The template for email messages that Amazon Cognito sends to your users.
|
java.lang.String |
getEmailMessageByLink()
The email message template for sending a confirmation link to the user.
|
java.lang.String |
getEmailSubject()
The subject line for the email message template.
|
java.lang.String |
getEmailSubjectByLink()
The subject line for the email message template for sending a
confirmation link to the user.
|
java.lang.String |
getSmsMessage()
The template for SMS messages that Amazon Cognito sends to your users.
|
int |
hashCode() |
void |
setDefaultEmailOption(DefaultEmailOptionType defaultEmailOption)
The default email option.
|
void |
setDefaultEmailOption(java.lang.String defaultEmailOption)
The default email option.
|
void |
setEmailMessage(java.lang.String emailMessage)
The template for email messages that Amazon Cognito sends to your users.
|
void |
setEmailMessageByLink(java.lang.String emailMessageByLink)
The email message template for sending a confirmation link to the user.
|
void |
setEmailSubject(java.lang.String emailSubject)
The subject line for the email message template.
|
void |
setEmailSubjectByLink(java.lang.String emailSubjectByLink)
The subject line for the email message template for sending a
confirmation link to the user.
|
void |
setSmsMessage(java.lang.String smsMessage)
The template for SMS messages that Amazon Cognito sends to your users.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VerificationMessageTemplateType |
withDefaultEmailOption(DefaultEmailOptionType defaultEmailOption)
The default email option.
|
VerificationMessageTemplateType |
withDefaultEmailOption(java.lang.String defaultEmailOption)
The default email option.
|
VerificationMessageTemplateType |
withEmailMessage(java.lang.String emailMessage)
The template for email messages that Amazon Cognito sends to your users.
|
VerificationMessageTemplateType |
withEmailMessageByLink(java.lang.String emailMessageByLink)
The email message template for sending a confirmation link to the user.
|
VerificationMessageTemplateType |
withEmailSubject(java.lang.String emailSubject)
The subject line for the email message template.
|
VerificationMessageTemplateType |
withEmailSubjectByLink(java.lang.String emailSubjectByLink)
The subject line for the email message template for sending a
confirmation link to the user.
|
VerificationMessageTemplateType |
withSmsMessage(java.lang.String smsMessage)
The template for SMS messages that Amazon Cognito sends to your users.
|
public java.lang.String getSmsMessage()
The template for SMS messages that Amazon Cognito sends to your users.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
The template for SMS messages that Amazon Cognito sends to your users.
public void setSmsMessage(java.lang.String smsMessage)
The template for SMS messages that Amazon Cognito sends to your users.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsMessage - The template for SMS messages that Amazon Cognito sends to your users.
public VerificationMessageTemplateType withSmsMessage(java.lang.String smsMessage)
The template for SMS messages that Amazon Cognito sends to your users.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 140
Pattern: .*\{####\}.*
smsMessage - The template for SMS messages that Amazon Cognito sends to your users.
public java.lang.String getEmailMessage()
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.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
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.
public void setEmailMessage(java.lang.String 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.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
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.
public VerificationMessageTemplateType withEmailMessage(java.lang.String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{####\}[\p{L}\p{M}\p{S}\p{
N}\p{P}\s*]*
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.
public java.lang.String getEmailSubject()
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.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
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.
public void setEmailSubject(java.lang.String 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.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
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.
public VerificationMessageTemplateType withEmailSubject(java.lang.String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
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.
public java.lang.String getEmailMessageByLink()
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.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{##[\p{L}\p{M}\p{S}\p{N}\p
{P}\s*]*##\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
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.
public void setEmailMessageByLink(java.lang.String 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.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{##[\p{L}\p{M}\p{S}\p{N}\p
{P}\s*]*##\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
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.
public VerificationMessageTemplateType withEmailMessageByLink(java.lang.String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 20000
Pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*\{##[\p{L}\p{M}\p{S}\p{N}\p
{P}\s*]*##\}[\p{L}\p{M}\p{S}\p{N}\p{P}\s*]*
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.
public java.lang.String getEmailSubjectByLink()
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.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
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.
public void setEmailSubjectByLink(java.lang.String 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.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
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.
public VerificationMessageTemplateType withEmailSubjectByLink(java.lang.String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}\s]+
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.
public java.lang.String getDefaultEmailOption()
The default email option.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
The default email option.
DefaultEmailOptionTypepublic void setDefaultEmailOption(java.lang.String defaultEmailOption)
The default email option.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
defaultEmailOption - The default email option.
DefaultEmailOptionTypepublic VerificationMessageTemplateType withDefaultEmailOption(java.lang.String defaultEmailOption)
The default email option.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
defaultEmailOption - The default email option.
DefaultEmailOptionTypepublic void setDefaultEmailOption(DefaultEmailOptionType defaultEmailOption)
The default email option.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
defaultEmailOption - The default email option.
DefaultEmailOptionTypepublic VerificationMessageTemplateType withDefaultEmailOption(DefaultEmailOptionType defaultEmailOption)
The default email option.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONFIRM_WITH_LINK, CONFIRM_WITH_CODE
defaultEmailOption - The default email option.
DefaultEmailOptionTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object