public Recommendation withTopMatches(Match... topMatches) {
        if (this.topMatches == null) {
            setTopMatches(new java.util.ArrayList<Match>(topMatches.length));
        }
        for (Match ele : topMatches) {
            this.topMatches.add(ele);
        }
        return this;
    }
<p>
List of the matches with most impact.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTopMatches(java.util.Collection)} or {@link #withTopMatches(java.util.Collection)} if you want to
override the existing values.
</p>

@param topMatches
       List of the matches with most impact.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/model/Recommendation.java