public Event withEventSource(String eventSource) {
        setEventSource(eventSource);
        return this;
    }
<p>
The Amazon Web Services service to which the request was made.
</p>

@param eventSource
       The Amazon Web Services service to which the request was made.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/Event.java