public CreateDBInstanceReadReplicaRequest withDomain(String domain) {
        setDomain(domain);
        return this;
    }
<p>
The Active Directory directory ID to create the DB instance in. Currently, only MySQL, Microsoft SQL Server,
Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> Kerberos
Authentication</a> in the <i>Amazon RDS User Guide</i>.
</p>
<p>
This setting doesn't apply to RDS Custom DB instances.
</p>

@param domain
       The Active Directory directory ID to create the DB instance in. Currently, only MySQL, Microsoft SQL
       Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain.</p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html"> Kerberos
       Authentication</a> in the <i>Amazon RDS User Guide</i>.
       </p>
       <p>
       This setting doesn't apply to RDS Custom DB instances.
@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