Class VerificationMessageTemplateType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VerificationMessageTemplateType.Builder,VerificationMessageTemplateType>
The template for the verification message that your user pool delivers to users who set an email address or phone number attribute.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final DefaultEmailOptionTypeThe configuration of verification emails to contain a clickable link or a verification code.final StringThe configuration of verification emails to contain a clickable link or a verification code.final StringThe template for email messages that Amazon Cognito sends to your users.final StringThe email message template for sending a confirmation link to the user.final StringThe subject line for the email message template.final StringThe subject line for the email message template for sending a confirmation link to the user.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends VerificationMessageTemplateType.Builder>final StringThe template for SMS messages that Amazon Cognito sends to your users.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
smsMessage
The template for SMS messages that Amazon Cognito sends to your users.
- Returns:
- The template for SMS messages that Amazon Cognito sends to your users.
-
emailMessage
The template for email messages that Amazon Cognito sends to your users. You can set an
EmailMessagetemplate only if the value of EmailSendingAccount isDEVELOPER. When your EmailSendingAccount isDEVELOPER, your user pool sends email messages with your own Amazon SES configuration.- Returns:
- The template for email messages that Amazon Cognito sends to your users. You can set an
EmailMessagetemplate only if the value of EmailSendingAccount isDEVELOPER. When your EmailSendingAccount isDEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
-
emailSubject
The subject line for the email message template. You can set an
EmailSubjecttemplate only if the value of EmailSendingAccount isDEVELOPER. When your EmailSendingAccount isDEVELOPER, your user pool sends email messages with your own Amazon SES configuration.- Returns:
- The subject line for the email message template. You can set an
EmailSubjecttemplate only if the value of EmailSendingAccount isDEVELOPER. When your EmailSendingAccount isDEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
-
emailMessageByLink
The email message template for sending a confirmation link to the user. You can set an
EmailMessageByLinktemplate only if the value of EmailSendingAccount isDEVELOPER. When your EmailSendingAccount isDEVELOPER, your user pool sends email messages with your own Amazon SES configuration.- Returns:
- The email message template for sending a confirmation link to the user. You can set an
EmailMessageByLinktemplate only if the value of EmailSendingAccount isDEVELOPER. When your EmailSendingAccount isDEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
-
emailSubjectByLink
The subject line for the email message template for sending a confirmation link to the user. You can set an
EmailSubjectByLinktemplate only if the value of EmailSendingAccount isDEVELOPER. When your EmailSendingAccount isDEVELOPER, your user pool sends email messages with your own Amazon SES configuration.- Returns:
- The subject line for the email message template for sending a confirmation link to the user. You can set
an
EmailSubjectByLinktemplate only if the value of EmailSendingAccount isDEVELOPER. When your EmailSendingAccount isDEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
-
defaultEmailOption
The configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}.If the service returns an enum value that is not available in the current SDK version,
defaultEmailOptionwill returnDefaultEmailOptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdefaultEmailOptionAsString().- Returns:
- The configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}. - See Also:
-
defaultEmailOptionAsString
The configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}.If the service returns an enum value that is not available in the current SDK version,
defaultEmailOptionwill returnDefaultEmailOptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdefaultEmailOptionAsString().- Returns:
- The configuration of verification emails to contain a clickable link or a verification code.
For link, your template body must contain link text in the format
{##Click here##}. "Click here" in the example is a customizable string. For code, your template body must contain a code placeholder in the format{####}. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<VerificationMessageTemplateType.Builder,VerificationMessageTemplateType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-