public Settings withMfaTypes(MfaTypesElement... mfaTypes) {
        java.util.ArrayList<String> mfaTypesCopy = new java.util.ArrayList<String>(mfaTypes.length);
        for (MfaTypesElement value : mfaTypes) {
            mfaTypesCopy.add(value.toString());
        }
        if (getMfaTypes() == null) {
            setMfaTypes(mfaTypesCopy);
        } else {
            getMfaTypes().addAll(mfaTypesCopy);
        }
        return this;
    }
<p>
The supported MFA types.
</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