Class CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty>
- Enclosing interface:
CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty>
A builder for
CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.errorHandlingConfig(CfnFlowPropsMixin.ErrorHandlingConfigProperty errorHandlingConfig) errorHandlingConfig(IResolvable errorHandlingConfig) idFieldNames(List<String> idFieldNames) objectPath(String objectPath) Sets the value ofCfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.getObjectPath()successResponseHandlingConfig(CfnFlowPropsMixin.SuccessResponseHandlingConfigProperty successResponseHandlingConfig) successResponseHandlingConfig(IResolvable successResponseHandlingConfig) writeOperationType(String writeOperationType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
errorHandlingConfig
@Stability(Stable) public CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder errorHandlingConfig(IResolvable errorHandlingConfig) - Parameters:
errorHandlingConfig- The settings that determine how Amazon AppFlow handles an error when placing data in the 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.ErrorHandlingConfigis a part of the destination connector details.- Returns:
this
-
errorHandlingConfig
@Stability(Stable) public CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder errorHandlingConfig(CfnFlowPropsMixin.ErrorHandlingConfigProperty errorHandlingConfig) - Parameters:
errorHandlingConfig- The settings that determine how Amazon AppFlow handles an error when placing data in the 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.ErrorHandlingConfigis a part of the destination connector details.- Returns:
this
-
idFieldNames
@Stability(Stable) public CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder idFieldNames(List<String> idFieldNames) - Parameters:
idFieldNames- A list of field names that can be used as an ID field when performing a write operation.- Returns:
this
-
objectPath
@Stability(Stable) public CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder objectPath(String objectPath) Sets the value ofCfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.getObjectPath()- Parameters:
objectPath- The object path specified in the SAPOData flow destination.- Returns:
this
-
successResponseHandlingConfig
@Stability(Stable) public CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder successResponseHandlingConfig(IResolvable successResponseHandlingConfig) Sets the value ofCfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.getSuccessResponseHandlingConfig()- Parameters:
successResponseHandlingConfig- Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data. For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.- Returns:
this
-
successResponseHandlingConfig
@Stability(Stable) public CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder successResponseHandlingConfig(CfnFlowPropsMixin.SuccessResponseHandlingConfigProperty successResponseHandlingConfig) Sets the value ofCfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.getSuccessResponseHandlingConfig()- Parameters:
successResponseHandlingConfig- Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data. For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.- Returns:
this
-
writeOperationType
@Stability(Stable) public CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty.Builder writeOperationType(String writeOperationType) - Parameters:
writeOperationType- The possible write operations in the destination connector. When this value is not provided, this defaults to theINSERToperation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.SAPODataDestinationPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-