public void setMessageGroups(java.util.Collection<MessageGroup> messageGroups) {
        if (messageGroups == null) {
            this.messageGroups = null;
            return;
        }

        this.messageGroups = new java.util.ArrayList<MessageGroup>(messageGroups);
    }
<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.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/FulfillmentUpdateResponseSpecification.java