public GcpMySQLSettings withAfterConnectScript(String afterConnectScript) {
        setAfterConnectScript(afterConnectScript);
        return this;
    }
<p>
Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues running
regardless if the SQL statement succeeds or fails.
</p>
<p>
For this parameter, provide the code of the script itself, not the name of a file containing the script.
</p>

@param afterConnectScript
       Specifies a script to run immediately after DMS connects to the endpoint. The migration task continues
       running regardless if the SQL statement succeeds or fails.</p>
       <p>
       For this parameter, provide the code of the script itself, not the name of a file containing the script.
@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/GcpMySQLSettings.java