@Stability(value=Stable) public static final class CfnFlow.SalesforceDestinationPropertiesProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFlow.SalesforceDestinationPropertiesProperty>
CfnFlow.SalesforceDestinationPropertiesProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnFlow.SalesforceDestinationPropertiesProperty.Builder object(String object)
CfnFlow.SalesforceDestinationPropertiesProperty.getObject()object - The object specified in the Salesforce flow destination. This parameter is required.this@Stability(value=Stable) public CfnFlow.SalesforceDestinationPropertiesProperty.Builder dataTransferApi(String dataTransferApi)
CfnFlow.SalesforceDestinationPropertiesProperty.getDataTransferApi()dataTransferApi - Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data to 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 records, and it might use Bulk API 2.0 on the next day to transfer 1,100 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@Stability(value=Stable) public CfnFlow.SalesforceDestinationPropertiesProperty.Builder errorHandlingConfig(IResolvable errorHandlingConfig)
CfnFlow.SalesforceDestinationPropertiesProperty.getErrorHandlingConfig()errorHandlingConfig - The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination.
For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.this@Stability(value=Stable) public CfnFlow.SalesforceDestinationPropertiesProperty.Builder errorHandlingConfig(CfnFlow.ErrorHandlingConfigProperty errorHandlingConfig)
CfnFlow.SalesforceDestinationPropertiesProperty.getErrorHandlingConfig()errorHandlingConfig - The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination.
For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.this@Stability(value=Stable) public CfnFlow.SalesforceDestinationPropertiesProperty.Builder idFieldNames(List<String> idFieldNames)
CfnFlow.SalesforceDestinationPropertiesProperty.getIdFieldNames()idFieldNames - The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.this@Stability(value=Stable) public CfnFlow.SalesforceDestinationPropertiesProperty.Builder writeOperationType(String writeOperationType)
CfnFlow.SalesforceDestinationPropertiesProperty.getWriteOperationType()writeOperationType - This specifies the type of write operation to be performed in Salesforce.
When the value is UPSERT , then idFieldNames is required.this@Stability(value=Stable) public CfnFlow.SalesforceDestinationPropertiesProperty build()
build in interface software.amazon.jsii.Builder<CfnFlow.SalesforceDestinationPropertiesProperty>CfnFlow.SalesforceDestinationPropertiesPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.