Class CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.CustomConnectorDestinationPropertiesProperty>
- Enclosing interface:
- CfnFlow.CustomConnectorDestinationPropertiesProperty
@Stability(Stable)
public static final class CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.CustomConnectorDestinationPropertiesProperty>
A builder for
CfnFlow.CustomConnectorDestinationPropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customProperties
(Map<String, String> customProperties) customProperties
(IResolvable customProperties) entityName
(String entityName) Sets the value ofCfnFlow.CustomConnectorDestinationPropertiesProperty.getEntityName()
errorHandlingConfig
(IResolvable errorHandlingConfig) errorHandlingConfig
(CfnFlow.ErrorHandlingConfigProperty errorHandlingConfig) idFieldNames
(List<String> idFieldNames) Sets the value ofCfnFlow.CustomConnectorDestinationPropertiesProperty.getIdFieldNames()
writeOperationType
(String writeOperationType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entityName
@Stability(Stable) public CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder entityName(String entityName) Sets the value ofCfnFlow.CustomConnectorDestinationPropertiesProperty.getEntityName()
- Parameters:
entityName
- The entity specified in the custom connector as a destination in the flow. This parameter is required.- Returns:
this
-
customProperties
@Stability(Stable) public CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder customProperties(IResolvable customProperties) - Parameters:
customProperties
- The custom properties that are specific to the connector when it's used as a destination in the flow.- Returns:
this
-
customProperties
@Stability(Stable) public CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder customProperties(Map<String, String> customProperties) - Parameters:
customProperties
- The custom properties that are specific to the connector when it's used as a destination in the flow.- Returns:
this
-
errorHandlingConfig
@Stability(Stable) public CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder errorHandlingConfig(IResolvable errorHandlingConfig) - Parameters:
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.- Returns:
this
-
errorHandlingConfig
@Stability(Stable) public CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder errorHandlingConfig(CfnFlow.ErrorHandlingConfigProperty errorHandlingConfig) - Parameters:
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.- Returns:
this
-
idFieldNames
@Stability(Stable) public CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder idFieldNames(List<String> idFieldNames) Sets the value ofCfnFlow.CustomConnectorDestinationPropertiesProperty.getIdFieldNames()
- 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:
this
-
writeOperationType
@Stability(Stable) public CfnFlow.CustomConnectorDestinationPropertiesProperty.Builder writeOperationType(String writeOperationType) - Parameters:
writeOperationType
- Specifies the type of write operation to be performed in the custom connector when it's used as destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.CustomConnectorDestinationPropertiesProperty>
- Returns:
- a new instance of
CfnFlow.CustomConnectorDestinationPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-