public ListDiscoveredResourcesResult withDiscoveredResourceList(DiscoveredResource... discoveredResourceList) {
        if (this.discoveredResourceList == null) {
            setDiscoveredResourceList(new java.util.ArrayList<DiscoveredResource>(discoveredResourceList.length));
        }
        for (DiscoveredResource ele : discoveredResourceList) {
            this.discoveredResourceList.add(ele);
        }
        return this;
    }
<p>
Returned list of discovered resources associated with the given MigrationTask.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDiscoveredResourceList(java.util.Collection)} or
{@link #withDiscoveredResourceList(java.util.Collection)} if you want to override the existing values.
</p>

@param discoveredResourceList
       Returned list of discovered resources associated with the given MigrationTask.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-migrationhub/src/main/java/com/amazonaws/services/migrationhub/model/ListDiscoveredResourcesResult.java