Interface CustomConnectorDestinationProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomConnectorDestinationProperties.Builder,
,CustomConnectorDestinationProperties> SdkBuilder<CustomConnectorDestinationProperties.Builder,
,CustomConnectorDestinationProperties> SdkPojo
- Enclosing class:
CustomConnectorDestinationProperties
-
Method Summary
Modifier and TypeMethodDescriptioncustomProperties
(Map<String, String> customProperties) The custom properties that are specific to the connector when it's used as a destination in the flow.entityName
(String entityName) The entity specified in the custom connector as a destination in the flow.errorHandlingConfig
(Consumer<ErrorHandlingConfig.Builder> errorHandlingConfig) The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.errorHandlingConfig
(ErrorHandlingConfig errorHandlingConfig) The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.idFieldNames
(String... idFieldNames) The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.idFieldNames
(Collection<String> idFieldNames) The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.writeOperationType
(String writeOperationType) Specifies the type of write operation to be performed in the custom connector when it's used as destination.writeOperationType
(WriteOperationType writeOperationType) Specifies the type of write operation to be performed in the custom connector when it's used as destination.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
entityName
The entity specified in the custom connector as a destination in the flow.
- Parameters:
entityName
- The entity specified in the custom connector as a destination in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorHandlingConfig
CustomConnectorDestinationProperties.Builder errorHandlingConfig(ErrorHandlingConfig errorHandlingConfig) The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
- Parameters:
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorHandlingConfig
default CustomConnectorDestinationProperties.Builder errorHandlingConfig(Consumer<ErrorHandlingConfig.Builder> errorHandlingConfig) The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
This is a convenience method that creates an instance of theErrorHandlingConfig.Builder
avoiding the need to create one manually viaErrorHandlingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorHandlingConfig(ErrorHandlingConfig)
.- Parameters:
errorHandlingConfig
- a consumer that will call methods onErrorHandlingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
writeOperationType
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
- Parameters:
writeOperationType
- Specifies the type of write operation to be performed in the custom connector when it's used as destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
writeOperationType
CustomConnectorDestinationProperties.Builder writeOperationType(WriteOperationType writeOperationType) Specifies the type of write operation to be performed in the custom connector when it's used as destination.
- Parameters:
writeOperationType
- Specifies the type of write operation to be performed in the custom connector when it's used as destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
idFieldNames
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
- Parameters:
idFieldNames
- The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idFieldNames
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
- Parameters:
idFieldNames
- The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customProperties
The custom properties that are specific to the connector when it's used as a destination in the flow.
- Parameters:
customProperties
- The custom properties that are specific to the connector when it's used as a destination in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-