public PostgreSQLSettings withAfterConnectScript(String afterConnectScript) {
        setAfterConnectScript(afterConnectScript);
        return this;
    }
<p>
For use with change data capture (CDC) only, this attribute has DMS bypass foreign keys and user triggers to
reduce the time it takes to bulk load data.
</p>
<p>
Example: <code>afterConnectScript=SET session_replication_role='replica'</code>
</p>

@param afterConnectScript
       For use with change data capture (CDC) only, this attribute has DMS bypass foreign keys and user triggers
       to reduce the time it takes to bulk load data.</p>
       <p>
       Example: <code>afterConnectScript=SET session_replication_role='replica'</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/PostgreSQLSettings.java