public DescribeMatchmakingRequest withTicketIds(String... ticketIds) {
        if (this.ticketIds == null) {
            setTicketIds(new java.util.ArrayList<String>(ticketIds.length));
        }
        for (String ele : ticketIds) {
            this.ticketIds.add(ele);
        }
        return this;
    }
<p>
A unique identifier for a matchmaking ticket. You can include up to 10 ID values.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTicketIds(java.util.Collection)} or {@link #withTicketIds(java.util.Collection)} if you want to
override the existing values.
</p>

@param ticketIds
       A unique identifier for a matchmaking ticket. You can include up to 10 ID values.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/DescribeMatchmakingRequest.java