public UpdateUserPoolRequest withMfaConfiguration(UserPoolMfaType mfaConfiguration) {
        this.mfaConfiguration = mfaConfiguration.toString();
        return this;
    }
<p>
Possible values include:
</p>
<ul>
<li>
<p>
<code>OFF</code> - MFA tokens aren't required and can't be specified during user registration.
</p>
</li>
<li>
<p>
<code>ON</code> - MFA tokens are required for all user registrations. You can only specify ON when you're
initially creating a user pool. You can use the <a href=
"https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html"
>SetUserPoolMfaConfig</a> API operation to turn MFA "ON" for existing user pools.
</p>
</li>
<li>
<p>
<code>OPTIONAL</code> - Users have the option when registering to create an MFA token.
</p>
</li>
</ul>

@param mfaConfiguration
       Possible values include:</p>
       <ul>
       <li>
       <p>
       <code>OFF</code> - MFA tokens aren't required and can't be specified during user registration.
       </p>
       </li>
       <li>
       <p>
       <code>ON</code> - MFA tokens are required for all user registrations. You can only specify ON when you're
       initially creating a user pool. You can use the <a href=
       "https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetUserPoolMfaConfig.html"
       >SetUserPoolMfaConfig</a> API operation to turn MFA "ON" for existing user pools.
       </p>
       </li>
       <li>
       <p>
       <code>OPTIONAL</code> - Users have the option when registering to create an MFA token.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see UserPoolMfaType
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/UpdateUserPoolRequest.java