public GetDataSourceRunResult withType(DataSourceRunType type) {
        this.type = type.toString();
        return this;
    }
<p>
The type of this data source run.
</p>

@param type
       The type of this data source run.
@return Returns a reference to this object so that method calls can be chained together.
@see DataSourceRunType
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/GetDataSourceRunResult.java