code: public NodeGroup withNodeGroupMembers(NodeGroupMember... nodeGroupMembers) {
          if (this.nodeGroupMembers == null) {
              setNodeGroupMembers(new com.amazonaws.internal.SdkInternalList<NodeGroupMember>(nodeGroupMembers.length));
          }
          for (NodeGroupMember ele : nodeGroupMembers) {
              this.nodeGroupMembers.add(ele);
          }
          return this;
      }
docs: <p>
  A list containing information about individual nodes within the node group (shard).
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setNodeGroupMembers(java.util.Collection)} or {@link #withNodeGroupMembers(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param nodeGroupMembers
  A list containing information about individual nodes within the node group (shard).
  @return Returns a reference to this object so that method calls can be chained together.