Interface EmailMfaConfigType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EmailMfaConfigType.Builder,EmailMfaConfigType>, SdkBuilder<EmailMfaConfigType.Builder,EmailMfaConfigType>, SdkPojo
Enclosing class:
EmailMfaConfigType

@Mutable @NotThreadSafe public static interface EmailMfaConfigType.Builder extends SdkPojo, CopyableBuilder<EmailMfaConfigType.Builder,EmailMfaConfigType>
  • 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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • subject

      The subject of the email messages that your user pool sends to users with codes for MFA and email OTP sign-in.

      Parameters:
      subject - The subject of the email messages that your user pool sends to users with codes for MFA and email OTP sign-in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.