public java.util.List<String> getGroups() {
        return groups;
    }
<p>
The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric
characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long. Does
not apply to RabbitMQ brokers.
</p>

@return The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only
        alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100
        characters long. Does not apply to RabbitMQ brokers.
aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/User.java