public ListNetworksResult withNetworks(java.util.Collection<NetworkSummary> networks) {
        setNetworks(networks);
        return this;
    }
<p>
An array of <code>NetworkSummary</code> objects that contain configuration properties for each network.
</p>

@param networks
       An array of <code>NetworkSummary</code> objects that contain configuration properties for each network.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/ListNetworksResult.java