Interface EmailMfaConfigType.Builder

    • Method Detail

      • message

        EmailMfaConfigType.Builder message​(String message)

        The template for the email message that your user pool sends to users with a code for MFA and sign-in with an email OTP. 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 message that your user pool sends to users with a code for MFA and sign-in with an email OTP. 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

        EmailMfaConfigType.Builder subject​(String subject)

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

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