public DatasetTrigger withDataset(TriggeringDataset dataset) {
        setDataset(dataset);
        return this;
    }
<p>
The dataset whose content creation triggers the creation of this dataset's contents.
</p>

@param dataset
       The dataset whose content creation triggers the creation of this dataset's contents.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/DatasetTrigger.java