public GetSampleDataResult withHeaderValues(String... headerValues) {
        if (this.headerValues == null) {
            setHeaderValues(new java.util.ArrayList<String>(headerValues.length));
        }
        for (String ele : headerValues) {
            this.headerValues.add(ele);
        }
        return this;
    }
<p>
A list of header labels for the records.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHeaderValues(java.util.Collection)} or {@link #withHeaderValues(java.util.Collection)} if you want to
override the existing values.
</p>

@param headerValues
       A list of header labels for the records.
@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/GetSampleDataResult.java