public RestoreDBInstanceFromDBSnapshotRequest withDomain(String domain) {
        setDomain(domain);
        return this;
    }
<p>
The Active Directory directory ID to restore the DB instance in. The domain/ must be created prior to this
operation. Currently, you can create only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances
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.
</p>

@param domain
       The Active Directory directory ID to restore the DB instance in. The domain/ must be created prior to this
       operation. Currently, you can create only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB
       instances 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.
@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/RestoreDBInstanceFromDBSnapshotRequest.java