public S3SourceConfig withHistoricalDataPathList(String... historicalDataPathList) {
        if (this.historicalDataPathList == null) {
            setHistoricalDataPathList(new java.util.ArrayList<String>(historicalDataPathList.length));
        }
        for (String ele : historicalDataPathList) {
            this.historicalDataPathList.add(ele);
        }
        return this;
    }
<p>
A list of paths to the historical data files.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHistoricalDataPathList(java.util.Collection)} or
{@link #withHistoricalDataPathList(java.util.Collection)} if you want to override the existing values.
</p>

@param historicalDataPathList
       A list of paths to the historical data files.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/S3SourceConfig.java