public void setSourceIds(java.util.Collection<String> sourceIds) {
        if (sourceIds == null) {
            this.sourceIds = null;
            return;
        }

        this.sourceIds = new com.amazonaws.internal.SdkInternalList<String>(sourceIds);
    }
<p>
The list of identifiers of the event sources for which events are returned. If not specified, then all sources
are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits,
and hyphens. It can't end with a hyphen or contain two consecutive hyphens.
</p>
<p>
Constraints:
</p>
<ul>
<li>
<p>
If <code>SourceIds</code> are supplied, <code>SourceType</code> must also be provided.
</p>
</li>
<li>
<p>
If the source type is a DB instance, a <code>DBInstanceIdentifier</code> value must be supplied.
</p>
</li>
<li>
<p>
If the source type is a DB cluster, a <code>DBClusterIdentifier</code> value must be supplied.
</p>
</li>
<li>
<p>
If the source type is a DB parameter group, a <code>DBParameterGroupName</code> value must be supplied.
</p>
</li>
<li>
<p>
If the source type is a DB security group, a <code>DBSecurityGroupName</code> value must be supplied.
</p>
</li>
<li>
<p>
If the source type is a DB snapshot, a <code>DBSnapshotIdentifier</code> value must be supplied.
</p>
</li>
<li>
<p>
If the source type is a DB cluster snapshot, a <code>DBClusterSnapshotIdentifier</code> value must be supplied.
</p>
</li>
<li>
<p>
If the source type is an RDS Proxy, a <code>DBProxyName</code> value must be supplied.
</p>
</li>
</ul>

@param sourceIds
       The list of identifiers of the event sources for which events are returned. If not specified, then all
       sources are included in the response. An identifier must begin with a letter and must contain only ASCII
       letters, digits, and hyphens. It can't end with a hyphen or contain two consecutive hyphens.</p>
       <p>
       Constraints:
       </p>
       <ul>
       <li>
       <p>
       If <code>SourceIds</code> are supplied, <code>SourceType</code> must also be provided.
       </p>
       </li>
       <li>
       <p>
       If the source type is a DB instance, a <code>DBInstanceIdentifier</code> value must be supplied.
       </p>
       </li>
       <li>
       <p>
       If the source type is a DB cluster, a <code>DBClusterIdentifier</code> value must be supplied.
       </p>
       </li>
       <li>
       <p>
       If the source type is a DB parameter group, a <code>DBParameterGroupName</code> value must be supplied.
       </p>
       </li>
       <li>
       <p>
       If the source type is a DB security group, a <code>DBSecurityGroupName</code> value must be supplied.
       </p>
       </li>
       <li>
       <p>
       If the source type is a DB snapshot, a <code>DBSnapshotIdentifier</code> value must be supplied.
       </p>
       </li>
       <li>
       <p>
       If the source type is a DB cluster snapshot, a <code>DBClusterSnapshotIdentifier</code> value must be
       supplied.
       </p>
       </li>
       <li>
       <p>
       If the source type is an RDS Proxy, a <code>DBProxyName</code> value must be supplied.
       </p>
       </li>
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/CreateEventSubscriptionRequest.java