public AcceptMatchRequest withTicketId(String ticketId) {
        setTicketId(ticketId);
        return this;
    }
<p>
A unique identifier for a matchmaking ticket. The ticket must be in status <code>REQUIRES_ACCEPTANCE</code>;
otherwise this request will fail.
</p>

@param ticketId
       A unique identifier for a matchmaking ticket. The ticket must be in status
       <code>REQUIRES_ACCEPTANCE</code>; otherwise this request will fail.
@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/AcceptMatchRequest.java