@Stability(value=Stable) @Internal public static final class CfnFlow.SalesforceDestinationPropertiesProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnFlow.SalesforceDestinationPropertiesProperty
CfnFlow.SalesforceDestinationPropertiesPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnFlow.SalesforceDestinationPropertiesProperty.Builder, CfnFlow.SalesforceDestinationPropertiesProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnFlow.SalesforceDestinationPropertiesProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnFlow.AggregationConfigProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDataTransferApi()
Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data to Salesforce.
|
Object |
getErrorHandlingConfig()
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination.
|
List<String> |
getIdFieldNames()
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
|
String |
getObject()
The object specified in the Salesforce flow destination.
|
String |
getWriteOperationType()
This specifies the type of write operation to be performed in Salesforce.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnFlow.SalesforceDestinationPropertiesProperty.Builder builder)
CfnFlow.AggregationConfigProperty.Builder.public final String getObject()
CfnFlow.SalesforceDestinationPropertiesPropertygetObject in interface CfnFlow.SalesforceDestinationPropertiesPropertypublic final String getDataTransferApi()
CfnFlow.SalesforceDestinationPropertiesProperty
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.
getDataTransferApi in interface CfnFlow.SalesforceDestinationPropertiesPropertypublic final Object getErrorHandlingConfig()
CfnFlow.SalesforceDestinationPropertiesProperty
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.
getErrorHandlingConfig in interface CfnFlow.SalesforceDestinationPropertiesPropertypublic final List<String> getIdFieldNames()
CfnFlow.SalesforceDestinationPropertiesPropertygetIdFieldNames in interface CfnFlow.SalesforceDestinationPropertiesPropertypublic final String getWriteOperationType()
CfnFlow.SalesforceDestinationPropertiesProperty
When the value is UPSERT , then idFieldNames is required.
getWriteOperationType in interface CfnFlow.SalesforceDestinationPropertiesProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.