code: public ListTablesResult withTableNames(java.util.Collection<String> tableNames) {
          if (tableNames == null) {
              this.tableNames = null;
          } else {
              java.util.List<String> tableNamesCopy = new java.util.ArrayList<String>(tableNames.size());
              tableNamesCopy.addAll(tableNames);
              this.tableNames = tableNamesCopy;
          }
  
          return this;
      }
docs: Sets the value of the TableNames property for this object.
  <p>
  Returns a reference to this object so that method calls can be chained together.
  
  @param tableNames The new value for the TableNames property for this object.
  
  @return A reference to this updated object so that method calls can be chained
  together.