Interface SmsMfaConfigType.Builder

    • Method Detail

      • smsAuthenticationMessage

        SmsMfaConfigType.Builder smsAuthenticationMessage​(String smsAuthenticationMessage)

        The SMS message that your user pool sends to users with an MFA code. 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:
        smsAuthenticationMessage - The SMS message that your user pool sends to users with an MFA code. 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.
      • smsConfiguration

        SmsMfaConfigType.Builder smsConfiguration​(SmsConfigurationType smsConfiguration)

        The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To request Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role that you provide for your Amazon Web Services account.

        Parameters:
        smsConfiguration - The SMS configuration with the settings that your Amazon Cognito user pool must use to send an SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To request Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management (IAM) role that you provide for your Amazon Web Services account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.