Interface Task.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Task.Builder,Task>,SdkBuilder<Task.Builder,Task>,SdkPojo
- Enclosing class:
- Task
public static interface Task.Builder extends SdkPojo, CopyableBuilder<Task.Builder,Task>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Task.BuilderconnectorOperator(Consumer<ConnectorOperator.Builder> connectorOperator)The operation to be performed on the provided source fields.Task.BuilderconnectorOperator(ConnectorOperator connectorOperator)The operation to be performed on the provided source fields.Task.BuilderdestinationField(String destinationField)A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.Task.BuildersourceFields(String... sourceFields)The source fields to which a particular task is applied.Task.BuildersourceFields(Collection<String> sourceFields)The source fields to which a particular task is applied.Task.BuildertaskProperties(Map<OperatorPropertiesKeys,String> taskProperties)A map used to store task-related information.Task.BuildertaskPropertiesWithStrings(Map<String,String> taskProperties)A map used to store task-related information.Task.BuildertaskType(String taskType)Specifies the particular task implementation that Amazon AppFlow performs.Task.BuildertaskType(TaskType taskType)Specifies the particular task implementation that Amazon AppFlow performs.-
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 Detail
-
connectorOperator
Task.Builder connectorOperator(ConnectorOperator connectorOperator)
The operation to be performed on the provided source fields.
- Parameters:
connectorOperator- The operation to be performed on the provided source fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorOperator
default Task.Builder connectorOperator(Consumer<ConnectorOperator.Builder> connectorOperator)
The operation to be performed on the provided source fields.
This is a convenience method that creates an instance of theConnectorOperator.Builderavoiding the need to create one manually viaConnectorOperator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectorOperator(ConnectorOperator).- Parameters:
connectorOperator- a consumer that will call methods onConnectorOperator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
connectorOperator(ConnectorOperator)
-
destinationField
Task.Builder destinationField(String destinationField)
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
- Parameters:
destinationField- A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFields
Task.Builder sourceFields(Collection<String> sourceFields)
The source fields to which a particular task is applied.
- Parameters:
sourceFields- The source fields to which a particular task is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFields
Task.Builder sourceFields(String... sourceFields)
The source fields to which a particular task is applied.
- Parameters:
sourceFields- The source fields to which a particular task is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskPropertiesWithStrings
Task.Builder taskPropertiesWithStrings(Map<String,String> taskProperties)
A map used to store task-related information. The service looks for particular information based on the TaskType.
- Parameters:
taskProperties- A map used to store task-related information. The service looks for particular information based on the TaskType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskProperties
Task.Builder taskProperties(Map<OperatorPropertiesKeys,String> taskProperties)
A map used to store task-related information. The service looks for particular information based on the TaskType.
- Parameters:
taskProperties- A map used to store task-related information. The service looks for particular information based on the TaskType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskType
Task.Builder taskType(String taskType)
Specifies the particular task implementation that Amazon AppFlow performs.
-
taskType
Task.Builder taskType(TaskType taskType)
Specifies the particular task implementation that Amazon AppFlow performs.
-
-