public Event withDataSource(EventDataSource dataSource) {
        this.dataSource = dataSource.toString();
        return this;
    }
<p>
The source, <code>AWS_CLOUD_TRAIL</code> or <code>AWS_CODE_DEPLOY</code>, where DevOps Guru analysis found the
event.
</p>

@param dataSource
       The source, <code>AWS_CLOUD_TRAIL</code> or <code>AWS_CODE_DEPLOY</code>, where DevOps Guru analysis found
       the event.
@return Returns a reference to this object so that method calls can be chained together.
@see EventDataSource
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/Event.java