public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }
<p>
The type of source that is generating the events. For example, if you want to be notified of events generated by
an instance, you would set this parameter to <code>db-instance</code>. 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-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 an instance, you would set this parameter to <code>db-instance</code>. 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-cluster-snapshot</code>
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/CreateEventSubscriptionRequest.java