Class CfnFlow.SAPODataDestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.SAPODataDestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.SAPODataDestinationPropertiesProperty>
- Enclosing interface:
- CfnFlow.SAPODataDestinationPropertiesProperty
@Stability(Stable)
public static final class CfnFlow.SAPODataDestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.SAPODataDestinationPropertiesProperty>
A builder for
CfnFlow.SAPODataDestinationPropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.errorHandlingConfig
(IResolvable errorHandlingConfig) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getErrorHandlingConfig()
errorHandlingConfig
(CfnFlow.ErrorHandlingConfigProperty errorHandlingConfig) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getErrorHandlingConfig()
idFieldNames
(List<String> idFieldNames) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getIdFieldNames()
objectPath
(String objectPath) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getObjectPath()
successResponseHandlingConfig
(IResolvable successResponseHandlingConfig) successResponseHandlingConfig
(CfnFlow.SuccessResponseHandlingConfigProperty successResponseHandlingConfig) writeOperationType
(String writeOperationType) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getWriteOperationType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
objectPath
@Stability(Stable) public CfnFlow.SAPODataDestinationPropertiesProperty.Builder objectPath(String objectPath) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getObjectPath()
- Parameters:
objectPath
- The object path specified in the SAPOData flow destination. This parameter is required.- Returns:
this
-
errorHandlingConfig
@Stability(Stable) public CfnFlow.SAPODataDestinationPropertiesProperty.Builder errorHandlingConfig(IResolvable errorHandlingConfig) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getErrorHandlingConfig()
- 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.ErrorHandlingConfig
is a part of the destination connector details.- Returns:
this
-
errorHandlingConfig
@Stability(Stable) public CfnFlow.SAPODataDestinationPropertiesProperty.Builder errorHandlingConfig(CfnFlow.ErrorHandlingConfigProperty errorHandlingConfig) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getErrorHandlingConfig()
- 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.ErrorHandlingConfig
is a part of the destination connector details.- Returns:
this
-
idFieldNames
@Stability(Stable) public CfnFlow.SAPODataDestinationPropertiesProperty.Builder idFieldNames(List<String> idFieldNames) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getIdFieldNames()
- Parameters:
idFieldNames
- A list of field names that can be used as an ID field when performing a write operation.- Returns:
this
-
successResponseHandlingConfig
@Stability(Stable) public CfnFlow.SAPODataDestinationPropertiesProperty.Builder successResponseHandlingConfig(IResolvable successResponseHandlingConfig) - 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 CfnFlow.SAPODataDestinationPropertiesProperty.Builder successResponseHandlingConfig(CfnFlow.SuccessResponseHandlingConfigProperty successResponseHandlingConfig) - 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 CfnFlow.SAPODataDestinationPropertiesProperty.Builder writeOperationType(String writeOperationType) Sets the value ofCfnFlow.SAPODataDestinationPropertiesProperty.getWriteOperationType()
- Parameters:
writeOperationType
- The possible write operations in the destination connector. When this value is not provided, this defaults to theINSERT
operation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.SAPODataDestinationPropertiesProperty>
- Returns:
- a new instance of
CfnFlow.SAPODataDestinationPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-