public CreateEventSubscriptionRequest withSourceType(String sourceType) {
        setSourceType(sourceType);
        return this;
    }
<p>
The type of source that is generating the events. For example, if you want to be notified of events generated by
a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are
returned.
</p>
<p>
Valid values: <code>db-instance</code> | <code>db-cluster</code> | <code>db-parameter-group</code> |
<code>db-security-group</code> | <code>db-snapshot</code> | <code>db-cluster-snapshot</code>
</p>

@param sourceType
       The type of source that is generating the events. For example, if you want to be notified of events
       generated by a DB instance, you would set this parameter to db-instance. if this value is not specified,
       all events are returned.</p>
       <p>
       Valid values: <code>db-instance</code> | <code>db-cluster</code> | <code>db-parameter-group</code> |
       <code>db-security-group</code> | <code>db-snapshot</code> | <code>db-cluster-snapshot</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-neptune/src/main/java/com/amazonaws/services/neptune/model/CreateEventSubscriptionRequest.java