@Stability(value=Stable)
public static interface CfnFlow.SalesforceDestinationPropertiesProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
SalesforceDestinationPropertiesProperty salesforceDestinationPropertiesProperty = SalesforceDestinationPropertiesProperty.builder()
.object("object")
// the properties below are optional
.errorHandlingConfig(ErrorHandlingConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.failOnFirstError(false)
.build())
.idFieldNames(List.of("idFieldNames"))
.writeOperationType("writeOperationType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFlow.SalesforceDestinationPropertiesProperty.Builder
A builder for
CfnFlow.SalesforceDestinationPropertiesProperty |
static class |
CfnFlow.SalesforceDestinationPropertiesProperty.Jsii$Proxy
An implementation for
CfnFlow.SalesforceDestinationPropertiesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFlow.SalesforceDestinationPropertiesProperty.Builder |
builder() |
default Object |
getErrorHandlingConfig()
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination.
|
default 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.
|
default String |
getWriteOperationType()
This specifies the type of write operation to be performed in Salesforce.
|
@Stability(value=Stable) @NotNull String getObject()
@Stability(value=Stable) @Nullable default Object getErrorHandlingConfig()
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.
@Stability(value=Stable) @Nullable default List<String> getIdFieldNames()
@Stability(value=Stable) @Nullable default String getWriteOperationType()
When the value is UPSERT , then idFieldNames is required.
@Stability(value=Stable) static CfnFlow.SalesforceDestinationPropertiesProperty.Builder builder()
Copyright © 2022. All rights reserved.