public java.util.List<MessageGroup> getMessageGroups() {
        return messageGroups;
    }
<p>
A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at
runtime.
</p>

@return A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to
        send at runtime.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/PromptSpecification.java