public static final class CfnFlow.SalesforceSourcePropertiesProperty.Builder
extends java.lang.Object
CfnFlow.SalesforceSourcePropertiesProperty
Constructor and Description |
---|
Builder() |
public CfnFlow.SalesforceSourcePropertiesProperty.Builder object(java.lang.String object)
CfnFlow.SalesforceSourcePropertiesProperty.getObject()
object
- The object specified in the Salesforce flow source. This parameter is required.this
public CfnFlow.SalesforceSourcePropertiesProperty.Builder dataTransferApi(java.lang.String dataTransferApi)
CfnFlow.SalesforceSourcePropertiesProperty.getDataTransferApi()
dataTransferApi
- Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data from Salesforce.
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.
this
public CfnFlow.SalesforceSourcePropertiesProperty.Builder enableDynamicFieldUpdate(java.lang.Boolean enableDynamicFieldUpdate)
CfnFlow.SalesforceSourcePropertiesProperty.getEnableDynamicFieldUpdate()
enableDynamicFieldUpdate
- The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.this
public CfnFlow.SalesforceSourcePropertiesProperty.Builder enableDynamicFieldUpdate(IResolvable enableDynamicFieldUpdate)
CfnFlow.SalesforceSourcePropertiesProperty.getEnableDynamicFieldUpdate()
enableDynamicFieldUpdate
- The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.this
public CfnFlow.SalesforceSourcePropertiesProperty.Builder includeDeletedRecords(java.lang.Boolean includeDeletedRecords)
CfnFlow.SalesforceSourcePropertiesProperty.getIncludeDeletedRecords()
includeDeletedRecords
- Indicates whether Amazon AppFlow includes deleted files in the flow run.this
public CfnFlow.SalesforceSourcePropertiesProperty.Builder includeDeletedRecords(IResolvable includeDeletedRecords)
CfnFlow.SalesforceSourcePropertiesProperty.getIncludeDeletedRecords()
includeDeletedRecords
- Indicates whether Amazon AppFlow includes deleted files in the flow run.this
public CfnFlow.SalesforceSourcePropertiesProperty build()
CfnFlow.SalesforceSourcePropertiesProperty
java.lang.NullPointerException
- if any required attribute was not provided