@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getAcceptAnyDate() != null)
            sb.append("AcceptAnyDate: ").append(getAcceptAnyDate()).append(",");
        if (getAfterConnectScript() != null)
            sb.append("AfterConnectScript: ").append(getAfterConnectScript()).append(",");
        if (getBucketFolder() != null)
            sb.append("BucketFolder: ").append(getBucketFolder()).append(",");
        if (getBucketName() != null)
            sb.append("BucketName: ").append(getBucketName()).append(",");
        if (getCaseSensitiveNames() != null)
            sb.append("CaseSensitiveNames: ").append(getCaseSensitiveNames()).append(",");
        if (getCompUpdate() != null)
            sb.append("CompUpdate: ").append(getCompUpdate()).append(",");
        if (getConnectionTimeout() != null)
            sb.append("ConnectionTimeout: ").append(getConnectionTimeout()).append(",");
        if (getDatabaseName() != null)
            sb.append("DatabaseName: ").append(getDatabaseName()).append(",");
        if (getDateFormat() != null)
            sb.append("DateFormat: ").append(getDateFormat()).append(",");
        if (getEmptyAsNull() != null)
            sb.append("EmptyAsNull: ").append(getEmptyAsNull()).append(",");
        if (getEncryptionMode() != null)
            sb.append("EncryptionMode: ").append(getEncryptionMode()).append(",");
        if (getExplicitIds() != null)
            sb.append("ExplicitIds: ").append(getExplicitIds()).append(",");
        if (getFileTransferUploadStreams() != null)
            sb.append("FileTransferUploadStreams: ").append(getFileTransferUploadStreams()).append(",");
        if (getLoadTimeout() != null)
            sb.append("LoadTimeout: ").append(getLoadTimeout()).append(",");
        if (getMaxFileSize() != null)
            sb.append("MaxFileSize: ").append(getMaxFileSize()).append(",");
        if (getPassword() != null)
            sb.append("Password: ").append("***Sensitive Data Redacted***").append(",");
        if (getPort() != null)
            sb.append("Port: ").append(getPort()).append(",");
        if (getRemoveQuotes() != null)
            sb.append("RemoveQuotes: ").append(getRemoveQuotes()).append(",");
        if (getReplaceInvalidChars() != null)
            sb.append("ReplaceInvalidChars: ").append(getReplaceInvalidChars()).append(",");
        if (getReplaceChars() != null)
            sb.append("ReplaceChars: ").append(getReplaceChars()).append(",");
        if (getServerName() != null)
            sb.append("ServerName: ").append(getServerName()).append(",");
        if (getServiceAccessRoleArn() != null)
            sb.append("ServiceAccessRoleArn: ").append(getServiceAccessRoleArn()).append(",");
        if (getServerSideEncryptionKmsKeyId() != null)
            sb.append("ServerSideEncryptionKmsKeyId: ").append(getServerSideEncryptionKmsKeyId()).append(",");
        if (getTimeFormat() != null)
            sb.append("TimeFormat: ").append(getTimeFormat()).append(",");
        if (getTrimBlanks() != null)
            sb.append("TrimBlanks: ").append(getTrimBlanks()).append(",");
        if (getTruncateColumns() != null)
            sb.append("TruncateColumns: ").append(getTruncateColumns()).append(",");
        if (getUsername() != null)
            sb.append("Username: ").append(getUsername()).append(",");
        if (getWriteBufferSize() != null)
            sb.append("WriteBufferSize: ").append(getWriteBufferSize()).append(",");
        if (getSecretsManagerAccessRoleArn() != null)
            sb.append("SecretsManagerAccessRoleArn: ").append(getSecretsManagerAccessRoleArn()).append(",");
        if (getSecretsManagerSecretId() != null)
            sb.append("SecretsManagerSecretId: ").append(getSecretsManagerSecretId()).append(",");
        if (getMapBooleanAsBoolean() != null)
            sb.append("MapBooleanAsBoolean: ").append(getMapBooleanAsBoolean());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/RedshiftSettings.java