public GetInsightsResult withInsights(Insight... insights) {
        if (this.insights == null) {
            setInsights(new java.util.ArrayList<Insight>(insights.length));
        }
        for (Insight ele : insights) {
            this.insights.add(ele);
        }
        return this;
    }
<p>
The insights returned by the operation.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInsights(java.util.Collection)} or {@link #withInsights(java.util.Collection)} if you want to override
the existing values.
</p>

@param insights
       The insights returned by the 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/GetInsightsResult.java