public void setRecoveryMechanisms(java.util.Collection<RecoveryOptionType> recoveryMechanisms) {
        if (recoveryMechanisms == null) {
            this.recoveryMechanisms = null;
            return;
        }

        this.recoveryMechanisms = new java.util.ArrayList<RecoveryOptionType>(recoveryMechanisms);
    }
<p>
The list of <code>RecoveryOptionTypes</code>.
</p>

@param recoveryMechanisms
       The list of <code>RecoveryOptionTypes</code>.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/AccountRecoverySettingType.java