public DescribeEventsRequest withSourceIdentifier(String sourceIdentifier) {
        setSourceIdentifier(sourceIdentifier);
        return this;
    }
<p>
The identifier of the event source for which events are returned. If not specified, then all sources are included
in the response.
</p>
<p>
Constraints:
</p>
<ul>
<li>
<p>
If <code>SourceIdentifier</code> is 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>
<li>
<p>
Can't end with a hyphen or contain two consecutive hyphens.
</p>
</li>
</ul>

@param sourceIdentifier
       The identifier of the event source for which events are returned. If not specified, then all sources are
       included in the response.</p>
       <p>
       Constraints:
       </p>
       <ul>
       <li>
       <p>
       If <code>SourceIdentifier</code> is 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>
       <li>
       <p>
       Can't end with a hyphen or contain two consecutive hyphens.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DescribeEventsRequest.java