public ListResourcesResult withResourceInfoList(ResourceInfo... resourceInfoList) {
        if (this.resourceInfoList == null) {
            setResourceInfoList(new java.util.ArrayList<ResourceInfo>(resourceInfoList.length));
        }
        for (ResourceInfo ele : resourceInfoList) {
            this.resourceInfoList.add(ele);
        }
        return this;
    }
<p>
A summary of the data lake resources.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResourceInfoList(java.util.Collection)} or {@link #withResourceInfoList(java.util.Collection)} if you
want to override the existing values.
</p>

@param resourceInfoList
       A summary of the data lake resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/ListResourcesResult.java