public ListKxClusterNodesResult withNodes(KxNode... nodes) {
        if (this.nodes == null) {
            setNodes(new java.util.ArrayList<KxNode>(nodes.length));
        }
        for (KxNode ele : nodes) {
            this.nodes.add(ele);
        }
        return this;
    }
<p>
A list of nodes associated with the cluster.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNodes(java.util.Collection)} or {@link #withNodes(java.util.Collection)} if you want to override the
existing values.
</p>

@param nodes
       A list of nodes associated with the cluster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/ListKxClusterNodesResult.java