public GetEventSelectorsResult withEventSelectors(java.util.Collection<EventSelector> eventSelectors) {
        setEventSelectors(eventSelectors);
        return this;
    }
<p>
The event selectors that are configured for the trail.
</p>

@param eventSelectors
       The event selectors that are configured for the trail.
@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/GetEventSelectorsResult.java