public Settings withMfaTypes(String... mfaTypes) {
        if (this.mfaTypes == null) {
            setMfaTypes(new java.util.ArrayList<String>(mfaTypes.length));
        }
        for (String ele : mfaTypes) {
            this.mfaTypes.add(ele);
        }
        return this;
    }
<p>
The supported MFA types.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMfaTypes(java.util.Collection)} or {@link #withMfaTypes(java.util.Collection)} if you want to override
the existing values.
</p>

@param mfaTypes
       The supported MFA types.
@return Returns a reference to this object so that method calls can be chained together.
@see MfaTypesElement
aws-java-sdk-amplifybackend/src/main/java/com/amazonaws/services/amplifybackend/model/Settings.java