public CreateEndpointRequest withDatabaseName(String databaseName) {
        setDatabaseName(databaseName);
        return this;
    }
<p>
The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. To migrate
to a specific database, use this setting and <code>targetDbType</code>.
</p>

@param databaseName
       The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. To
       migrate to a specific database, use this setting and <code>targetDbType</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/CreateEndpointRequest.java