public ListRuleBasedMatchesResult withMatchIds(String... matchIds) {
        if (this.matchIds == null) {
            setMatchIds(new java.util.ArrayList<String>(matchIds.length));
        }
        for (String ele : matchIds) {
            this.matchIds.add(ele);
        }
        return this;
    }
<p>
The list of <code>MatchIds</code> for the given domain.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMatchIds(java.util.Collection)} or {@link #withMatchIds(java.util.Collection)} if you want to override
the existing values.
</p>

@param matchIds
       The list of <code>MatchIds</code> for the given domain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/ListRuleBasedMatchesResult.java