in aws-customerprofiles-integration/src/main/java/software/amazon/customerprofiles/integration/translators/SalesforceTranslator.java [14:30]
public SourceFlowConfig toServiceSourceFlowConfig(software.amazon.customerprofiles.integration.SourceFlowConfig model) {
return SourceFlowConfig.builder()
.connectorProfileName(StringUtils.isNullOrEmpty(model.getConnectorProfileName()) ? null :
model.getConnectorProfileName())
.connectorType(model.getConnectorType())
.incrementalPullConfig(model.getIncrementalPullConfig() == null ? null : IncrementalPullConfig.builder()
.datetimeTypeFieldName(model.getIncrementalPullConfig().getDatetimeTypeFieldName())
.build())
.sourceConnectorProperties(
SourceConnectorProperties.builder()
.salesforce(toServiceSourceProperties(model
.getSourceConnectorProperties()
.getSalesforce()))
.build()
)
.build();
}