public RedshiftIAMParameters withDatabaseGroups(java.util.Collection<String> databaseGroups) {
        setDatabaseGroups(databaseGroups);
        return this;
    }
<p>
A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster. These permissions
are combined with the permissions granted to Amazon QuickSight by the <code>DatabaseUser</code>. If you choose to
include this parameter, the <code>RoleArn</code> must grant access to <code>redshift:JoinGroup</code>.
</p>

@param databaseGroups
       A list of groups whose permissions will be granted to Amazon QuickSight to access the cluster. These
       permissions are combined with the permissions granted to Amazon QuickSight by the
       <code>DatabaseUser</code>. If you choose to include this parameter, the <code>RoleArn</code> must grant
       access to <code>redshift:JoinGroup</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/RedshiftIAMParameters.java