public CreateDataSetRequest withColumnGroups(java.util.Collection<ColumnGroup> columnGroups) {
        setColumnGroups(columnGroups);
        return this;
    }
<p>
Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial
hierarchy is supported.
</p>

@param columnGroups
       Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial
       hierarchy is supported.
@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/CreateDataSetRequest.java