Class CfnFlow.TaskProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.TaskProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.TaskProperty>
- Enclosing interface:
CfnFlow.TaskProperty
@Stability(Stable)
public static final class CfnFlow.TaskProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.TaskProperty>
A builder for
CfnFlow.TaskProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectorOperator(IResolvable connectorOperator) Sets the value ofCfnFlow.TaskProperty.getConnectorOperator()connectorOperator(CfnFlow.ConnectorOperatorProperty connectorOperator) Sets the value ofCfnFlow.TaskProperty.getConnectorOperator()destinationField(String destinationField) Sets the value ofCfnFlow.TaskProperty.getDestinationField()sourceFields(List<String> sourceFields) Sets the value ofCfnFlow.TaskProperty.getSourceFields()taskProperties(List<? extends Object> taskProperties) Sets the value ofCfnFlow.TaskProperty.getTaskProperties()taskProperties(IResolvable taskProperties) Sets the value ofCfnFlow.TaskProperty.getTaskProperties()Sets the value ofCfnFlow.TaskProperty.getTaskType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceFields
Sets the value ofCfnFlow.TaskProperty.getSourceFields()- Parameters:
sourceFields- The source fields to which a particular task is applied. This parameter is required.- Returns:
this
-
taskType
Sets the value ofCfnFlow.TaskProperty.getTaskType()- Parameters:
taskType- Specifies the particular task implementation that Amazon AppFlow performs. This parameter is required. Allowed values :Arithmetic|Filter|Map|Map_all|Mask|Merge|Truncate|Validate- Returns:
this
-
connectorOperator
@Stability(Stable) public CfnFlow.TaskProperty.Builder connectorOperator(IResolvable connectorOperator) Sets the value ofCfnFlow.TaskProperty.getConnectorOperator()- Parameters:
connectorOperator- The operation to be performed on the provided source fields.- Returns:
this
-
connectorOperator
@Stability(Stable) public CfnFlow.TaskProperty.Builder connectorOperator(CfnFlow.ConnectorOperatorProperty connectorOperator) Sets the value ofCfnFlow.TaskProperty.getConnectorOperator()- Parameters:
connectorOperator- The operation to be performed on the provided source fields.- Returns:
this
-
destinationField
Sets the value ofCfnFlow.TaskProperty.getDestinationField()- Parameters:
destinationField- A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.- Returns:
this
-
taskProperties
Sets the value ofCfnFlow.TaskProperty.getTaskProperties()- Parameters:
taskProperties- A map used to store task-related information. The execution service looks for particular information based on theTaskType.- Returns:
this
-
taskProperties
@Stability(Stable) public CfnFlow.TaskProperty.Builder taskProperties(List<? extends Object> taskProperties) Sets the value ofCfnFlow.TaskProperty.getTaskProperties()- Parameters:
taskProperties- A map used to store task-related information. The execution service looks for particular information based on theTaskType.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlow.TaskProperty>- Returns:
- a new instance of
CfnFlow.TaskProperty - Throws:
NullPointerException- if any required attribute was not provided
-