public void setDataSets(java.util.Collection<DatasetMetadata> dataSets) {
        if (dataSets == null) {
            this.dataSets = null;
            return;
        }

        this.dataSets = new java.util.ArrayList<DatasetMetadata>(dataSets);
    }
<p>
The data sets that the topic is associated with.
</p>

@param dataSets
       The data sets that the topic is associated with.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/TopicDetails.java