public TableWithColumnsResource withColumnNames(String... columnNames) {
        if (this.columnNames == null) {
            setColumnNames(new java.util.ArrayList<String>(columnNames.length));
        }
        for (String ele : columnNames) {
            this.columnNames.add(ele);
        }
        return this;
    }
<p>
The list of column names for the table. At least one of <code>ColumnNames</code> or <code>ColumnWildcard</code>
is required.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setColumnNames(java.util.Collection)} or {@link #withColumnNames(java.util.Collection)} if you want to
override the existing values.
</p>

@param columnNames
       The list of column names for the table. At least one of <code>ColumnNames</code> or
       <code>ColumnWildcard</code> is required.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/TableWithColumnsResource.java