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 Details

    • 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.
    • 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 the ConnectorOperator.Builder avoiding the need to create one manually via ConnectorOperator.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to connectorOperator(ConnectorOperator).

      Parameters:
      connectorOperator - a consumer that will call methods on ConnectorOperator.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • taskType

      Task.Builder taskType(String taskType)

      Specifies the particular task implementation that Amazon AppFlow performs.

      Parameters:
      taskType - Specifies the particular task implementation that Amazon AppFlow performs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • taskType

      Task.Builder taskType(TaskType taskType)

      Specifies the particular task implementation that Amazon AppFlow performs.

      Parameters:
      taskType - Specifies the particular task implementation that Amazon AppFlow performs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • taskPropertiesWithStrings

      Task.Builder taskPropertiesWithStrings(Map<String,String> taskProperties)

      A map used to store task-related information. The execution service looks for particular information based on the TaskType.

      Parameters:
      taskProperties - A map used to store task-related information. The execution 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 execution service looks for particular information based on the TaskType.

      Parameters:
      taskProperties - A map used to store task-related information. The execution service looks for particular information based on the TaskType.
      Returns:
      Returns a reference to this object so that method calls can be chained together.