public void setLendingFields(java.util.Collection<LendingField> lendingFields) {
        if (lendingFields == null) {
            this.lendingFields = null;
            return;
        }

        this.lendingFields = new java.util.ArrayList<LendingField>(lendingFields);
    }
<p>
An array of LendingField objects.
</p>

@param lendingFields
       An array of LendingField objects.
aws-java-sdk-textract/src/main/java/com/amazonaws/services/textract/model/LendingDocument.java