public LendingDocument withLendingFields(java.util.Collection<LendingField> lendingFields) {
        setLendingFields(lendingFields);
        return this;
    }
<p>
An array of LendingField objects.
</p>

@param lendingFields
       An array of LendingField objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-textract/src/main/java/com/amazonaws/services/textract/model/LendingDocument.java