public FulfillmentUpdateResponseSpecification withMessageGroups(java.util.Collection<MessageGroup> messageGroups) {
        setMessageGroups(messageGroups);
        return this;
    }
<p>
1 - 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
</p>

@param messageGroups
       1 - 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the
       user.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/FulfillmentUpdateResponseSpecification.java