public CsvOptions withHeaderList(String... headerList) {
        if (this.headerList == null) {
            setHeaderList(new java.util.ArrayList<String>(headerList.length));
        }
        for (String ele : headerList) {
            this.headerList.add(ele);
        }
        return this;
    }
<p>
List of the headers used to specify a common header for all source CSV files being imported. If this field is
specified then the first line of each CSV file is treated as data instead of the header. If this field is not
specified the the first line of each CSV file is treated as the header.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHeaderList(java.util.Collection)} or {@link #withHeaderList(java.util.Collection)} if you want to
override the existing values.
</p>

@param headerList
       List of the headers used to specify a common header for all source CSV files being imported. If this field
       is specified then the first line of each CSV file is treated as data instead of the header. If this field
       is not specified the the first line of each CSV file is treated as the header.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/CsvOptions.java