public ListNodesResult withNodes(java.util.Collection<NodeSummary> nodes) {
        setNodes(nodes);
        return this;
    }
<p>
An array of <code>NodeSummary</code> objects that contain configuration properties for each node.
</p>

@param nodes
       An array of <code>NodeSummary</code> objects that contain configuration properties for each node.
@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/ListNodesResult.java