public CreateDBInstanceReadReplicaRequest withDBSubnetGroupName(String dBSubnetGroupName) {
        setDBSubnetGroupName(dBSubnetGroupName);
        return this;
    }
<p>
A DB subnet group for the DB instance. The new DB instance is created in the VPC associated with the DB subnet
group. If no DB subnet group is specified, then the new DB instance isn't created in a VPC.
</p>
<p>
Constraints:
</p>
<ul>
<li>
<p>
If supplied, must match the name of an existing DB subnet group.
</p>
</li>
<li>
<p>
The specified DB subnet group must be in the same Amazon Web Services Region in which the operation is running.
</p>
</li>
<li>
<p>
All read replicas in one Amazon Web Services Region that are created from the same source DB instance must
either:
</p>
<ul>
<li>
<p>
Specify DB subnet groups from the same VPC. All these read replicas are created in the same VPC.
</p>
</li>
<li>
<p>
Not specify a DB subnet group. All these read replicas are created outside of any VPC.
</p>
</li>
</ul>
</li>
</ul>
<p>
Example: <code>mydbsubnetgroup</code>
</p>

@param dBSubnetGroupName
       A DB subnet group for the DB instance. The new DB instance is created in the VPC associated with the DB
       subnet group. If no DB subnet group is specified, then the new DB instance isn't created in a VPC.</p>
       <p>
       Constraints:
       </p>
       <ul>
       <li>
       <p>
       If supplied, must match the name of an existing DB subnet group.
       </p>
       </li>
       <li>
       <p>
       The specified DB subnet group must be in the same Amazon Web Services Region in which the operation is
       running.
       </p>
       </li>
       <li>
       <p>
       All read replicas in one Amazon Web Services Region that are created from the same source DB instance must
       either:
       </p>
       <ul>
       <li>
       <p>
       Specify DB subnet groups from the same VPC. All these read replicas are created in the same VPC.
       </p>
       </li>
       <li>
       <p>
       Not specify a DB subnet group. All these read replicas are created outside of any VPC.
       </p>
       </li>
       </ul>
       </li>
       </ul>
       <p>
       Example: <code>mydbsubnetgroup</code>
@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/CreateDBInstanceReadReplicaRequest.java