public PostgreSQLSettings withTrimSpaceInChar(Boolean trimSpaceInChar) {
        setTrimSpaceInChar(trimSpaceInChar);
        return this;
    }
<p>
Use the <code>TrimSpaceInChar</code> source endpoint setting to trim data on CHAR and NCHAR data types during
migration. The default value is <code>true</code>.
</p>

@param trimSpaceInChar
       Use the <code>TrimSpaceInChar</code> source endpoint setting to trim data on CHAR and NCHAR data types
       during migration. The default value is <code>true</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