public static interface CfnFlow.SalesforceSourcePropertiesProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appflow.*; SalesforceSourcePropertiesProperty salesforceSourcePropertiesProperty = SalesforceSourcePropertiesProperty.builder() .object("object") // the properties below are optional .dataTransferApi("dataTransferApi") .enableDynamicFieldUpdate(false) .includeDeletedRecords(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnFlow.SalesforceSourcePropertiesProperty.Builder
A builder for
CfnFlow.SalesforceSourcePropertiesProperty |
static class |
CfnFlow.SalesforceSourcePropertiesProperty.Jsii$Proxy
An implementation for
CfnFlow.SalesforceSourcePropertiesProperty |
Modifier and Type | Method and Description |
---|---|
static CfnFlow.SalesforceSourcePropertiesProperty.Builder |
builder() |
default java.lang.String |
getDataTransferApi()
Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data from Salesforce.
|
default java.lang.Object |
getEnableDynamicFieldUpdate()
The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
|
default java.lang.Object |
getIncludeDeletedRecords()
Indicates whether Amazon AppFlow includes deleted files in the flow run.
|
java.lang.String |
getObject()
The object specified in the Salesforce flow source.
|
java.lang.String getObject()
default java.lang.String getDataTransferApi()
Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900,000 records, and it might use Bulk API 2.0 on the next day to transfer 1,100,000 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields.
By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output.
Note that Bulk API 2.0 does not transfer Salesforce compound fields.
default java.lang.Object getEnableDynamicFieldUpdate()
default java.lang.Object getIncludeDeletedRecords()
static CfnFlow.SalesforceSourcePropertiesProperty.Builder builder()