public void setNodeGroupMembers(java.util.Collection<NodeGroupMember> nodeGroupMembers) {
        if (nodeGroupMembers == null) {
            this.nodeGroupMembers = null;
            return;
        }

        this.nodeGroupMembers = new com.amazonaws.internal.SdkInternalList<NodeGroupMember>(nodeGroupMembers);
    }
<p>
A list containing information about individual nodes within the node group (shard).
</p>

@param nodeGroupMembers
       A list containing information about individual nodes within the node group (shard).
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/NodeGroup.java