public void setGroups(java.util.Collection<String> groups) {
        if (groups == null) {
            this.groups = null;
            return;
        }

        this.groups = new java.util.ArrayList<String>(groups);
    }
<p>
A list of groups to be attached. There must be at least one group.
</p>

@param groups
       A list of groups to be attached. There must be at least one group.
aws-java-sdk-budgets/src/main/java/com/amazonaws/services/budgets/model/IamActionDefinition.java