public ListCisScanResultsAggregatedByChecksResult withCheckAggregations(CisCheckAggregation... checkAggregations) {
        if (this.checkAggregations == null) {
            setCheckAggregations(new java.util.ArrayList<CisCheckAggregation>(checkAggregations.length));
        }
        for (CisCheckAggregation ele : checkAggregations) {
            this.checkAggregations.add(ele);
        }
        return this;
    }
<p>
The check aggregations.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCheckAggregations(java.util.Collection)} or {@link #withCheckAggregations(java.util.Collection)} if
you want to override the existing values.
</p>

@param checkAggregations
       The check aggregations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ListCisScanResultsAggregatedByChecksResult.java