public InsightResults withResultValues(InsightResultValue... resultValues) {
        if (this.resultValues == null) {
            setResultValues(new java.util.ArrayList<InsightResultValue>(resultValues.length));
        }
        for (InsightResultValue ele : resultValues) {
            this.resultValues.add(ele);
        }
        return this;
    }
<p>
The list of insight result values returned by the <code>GetInsightResults</code> operation.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResultValues(java.util.Collection)} or {@link #withResultValues(java.util.Collection)} if you want to
override the existing values.
</p>

@param resultValues
       The list of insight result values returned by the <code>GetInsightResults</code> operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/InsightResults.java