public DeleteDataSourceResult withPublishOnImport(Boolean publishOnImport) {
        setPublishOnImport(publishOnImport);
        return this;
    }
<p>
Specifies whether the assets that this data source creates in the inventory are to be also automatically
published to the catalog.
</p>

@param publishOnImport
       Specifies whether the assets that this data source creates in the inventory are to be also automatically
       published to the catalog.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/DeleteDataSourceResult.java