public static interface SalesforceDestinationProperties.Builder extends SdkPojo, CopyableBuilder<SalesforceDestinationProperties.Builder,SalesforceDestinationProperties>
Modifier and Type | Method and Description |
---|---|
default SalesforceDestinationProperties.Builder |
errorHandlingConfig(Consumer<ErrorHandlingConfig.Builder> errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce
destination.
|
SalesforceDestinationProperties.Builder |
errorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce
destination.
|
SalesforceDestinationProperties.Builder |
idFieldNames(Collection<String> idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or
delete.
|
SalesforceDestinationProperties.Builder |
idFieldNames(String... idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or
delete.
|
SalesforceDestinationProperties.Builder |
object(String object)
The object specified in the Salesforce flow destination.
|
SalesforceDestinationProperties.Builder |
writeOperationType(String writeOperationType)
This specifies the type of write operation to be performed in Salesforce.
|
SalesforceDestinationProperties.Builder |
writeOperationType(WriteOperationType writeOperationType)
This specifies the type of write operation to be performed in Salesforce.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SalesforceDestinationProperties.Builder object(String object)
The object specified in the Salesforce flow destination.
object
- The object specified in the Salesforce flow destination.SalesforceDestinationProperties.Builder idFieldNames(Collection<String> idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
idFieldNames
- The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as
update or delete.SalesforceDestinationProperties.Builder idFieldNames(String... idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
idFieldNames
- The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as
update or delete.SalesforceDestinationProperties.Builder errorHandlingConfig(ErrorHandlingConfig 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.
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.default SalesforceDestinationProperties.Builder errorHandlingConfig(Consumer<ErrorHandlingConfig.Builder> 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.
ErrorHandlingConfig.Builder
avoiding the need
to create one manually via ErrorHandlingConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to errorHandlingConfig(ErrorHandlingConfig)
.errorHandlingConfig
- a consumer that will call methods on ErrorHandlingConfig.Builder
errorHandlingConfig(ErrorHandlingConfig)
SalesforceDestinationProperties.Builder writeOperationType(String writeOperationType)
This specifies the type of write operation to be performed in Salesforce. When the value is
UPSERT
, then idFieldNames
is required.
writeOperationType
- This specifies the type of write operation to be performed in Salesforce. When the value is
UPSERT
, then idFieldNames
is required.WriteOperationType
,
WriteOperationType
SalesforceDestinationProperties.Builder writeOperationType(WriteOperationType writeOperationType)
This specifies the type of write operation to be performed in Salesforce. When the value is
UPSERT
, then idFieldNames
is required.
writeOperationType
- This specifies the type of write operation to be performed in Salesforce. When the value is
UPSERT
, then idFieldNames
is required.WriteOperationType
,
WriteOperationType
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.