public CreateEndpointRequest withMySQLSettings(MySQLSettings mySQLSettings) {
        setMySQLSettings(mySQLSettings);
        return this;
    }
<p>
Settings in JSON format for the source and target MySQL endpoint. For information about other available settings,
see <a href=
"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html#CHAP_Source.MySQL.ConnectionAttrib"
>Extra connection attributes when using MySQL as a source for DMS</a> and <a href=
"https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html#CHAP_Target.MySQL.ConnectionAttrib"
>Extra connection attributes when using a MySQL-compatible database as a target for DMS</a> in the <i>Database
Migration Service User Guide.</i>
</p>

@param mySQLSettings
       Settings in JSON format for the source and target MySQL endpoint. For information about other available
       settings, see <a href=
       "https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html#CHAP_Source.MySQL.ConnectionAttrib"
       >Extra connection attributes when using MySQL as a source for DMS</a> and <a href=
       "https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html#CHAP_Target.MySQL.ConnectionAttrib"
       >Extra connection attributes when using a MySQL-compatible database as a target for DMS</a> in the
       <i>Database Migration Service User Guide.</i>
@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