public ListSolNetworkInstancesResult withNetworkInstances(ListSolNetworkInstanceInfo... networkInstances) {
        if (this.networkInstances == null) {
            setNetworkInstances(new java.util.ArrayList<ListSolNetworkInstanceInfo>(networkInstances.length));
        }
        for (ListSolNetworkInstanceInfo ele : networkInstances) {
            this.networkInstances.add(ele);
        }
        return this;
    }
<p>
Lists network instances.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNetworkInstances(java.util.Collection)} or {@link #withNetworkInstances(java.util.Collection)} if you
want to override the existing values.
</p>

@param networkInstances
       Lists network instances.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-tnb/src/main/java/com/amazonaws/services/tnb/model/ListSolNetworkInstancesResult.java