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

        this.userGroups = new com.amazonaws.internal.SdkInternalList<String>(userGroups);
    }
<p>
The user groups. This parameter is valid only when modifying the <code>loadPermission</code> attribute.
</p>

@param userGroups
       The user groups. This parameter is valid only when modifying the <code>loadPermission</code> attribute.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyFpgaImageAttributeRequest.java