Class EmailMfaConfigType
java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.EmailMfaConfigType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EmailMfaConfigType.Builder,EmailMfaConfigType>
@Generated("software.amazon.awssdk:codegen")
public final class EmailMfaConfigType
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<EmailMfaConfigType.Builder,EmailMfaConfigType>
Sets or shows configuration for user pool email message MFA and sign-in with one-time passwords (OTPs). Includes the subject and body of the email message template for sign-in and MFA messages. To activate this setting, your user pool must be in the Essentials tier or higher.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EmailMfaConfigType.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()The template for the email messages that your user pool sends to users with codes for MFA and sign-in with email OTPs.static Class<? extends EmailMfaConfigType.Builder>final Stringsubject()The subject of the email messages that your user pool sends to users with codes for MFA and email OTP sign-in.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
-
message
The template for the email messages that your user pool sends to users with codes for MFA and sign-in with email OTPs. The message must contain the
{####}placeholder. In the message, Amazon Cognito replaces this placeholder with the code. If you don't provide this parameter, Amazon Cognito sends messages in the default format.- Returns:
- The template for the email messages that your user pool sends to users with codes for MFA and sign-in
with email OTPs. The message must contain the
{####}placeholder. In the message, Amazon Cognito replaces this placeholder with the code. If you don't provide this parameter, Amazon Cognito sends messages in the default format.
-
subject
The subject of the email messages that your user pool sends to users with codes for MFA and email OTP sign-in.
- Returns:
- The subject of the email messages that your user pool sends to users with codes for MFA and email OTP sign-in.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<EmailMfaConfigType.Builder,EmailMfaConfigType>
-
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
-