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

@param sampleRows
       A list of 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