public RuleTriggerEventSource withEventSourceName(EventSourceName eventSourceName) {
        this.eventSourceName = eventSourceName.toString();
        return this;
    }
<p>
The name of the event source.
</p>

@param eventSourceName
       The name of the event source.
@return Returns a reference to this object so that method calls can be chained together.
@see EventSourceName
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/RuleTriggerEventSource.java