Interface FlowDefinition.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FlowDefinition.Builder,FlowDefinition>, SdkBuilder<FlowDefinition.Builder,FlowDefinition>, SdkPojo
Enclosing class:
FlowDefinition

public static interface FlowDefinition.Builder extends SdkPojo, CopyableBuilder<FlowDefinition.Builder,FlowDefinition>
  • Method Details

    • description

      FlowDefinition.Builder description(String description)

      A description of the flow you want to create.

      Parameters:
      description - A description of the flow you want to create.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flowName

      FlowDefinition.Builder flowName(String flowName)

      The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.

      Parameters:
      flowName - The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsArn

      The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.

      Parameters:
      kmsArn - The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceFlowConfig

      FlowDefinition.Builder sourceFlowConfig(SourceFlowConfig sourceFlowConfig)

      The configuration that controls how Customer Profiles retrieves data from the source.

      Parameters:
      sourceFlowConfig - The configuration that controls how Customer Profiles retrieves data from the source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceFlowConfig

      default FlowDefinition.Builder sourceFlowConfig(Consumer<SourceFlowConfig.Builder> sourceFlowConfig)

      The configuration that controls how Customer Profiles retrieves data from the source.

      This is a convenience method that creates an instance of the SourceFlowConfig.Builder avoiding the need to create one manually via SourceFlowConfig.builder().

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

      Parameters:
      sourceFlowConfig - a consumer that will call methods on SourceFlowConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tasks

      A list of tasks that Customer Profiles performs while transferring the data in the flow run.

      Parameters:
      tasks - A list of tasks that Customer Profiles performs while transferring the data in the flow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tasks

      FlowDefinition.Builder tasks(Task... tasks)

      A list of tasks that Customer Profiles performs while transferring the data in the flow run.

      Parameters:
      tasks - A list of tasks that Customer Profiles performs while transferring the data in the flow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tasks

      A list of tasks that Customer Profiles performs while transferring the data in the flow run.

      This is a convenience method that creates an instance of the Task.Builder avoiding the need to create one manually via Task.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tasks(List<Task>).

      Parameters:
      tasks - a consumer that will call methods on Task.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • triggerConfig

      FlowDefinition.Builder triggerConfig(TriggerConfig triggerConfig)

      The trigger settings that determine how and when the flow runs.

      Parameters:
      triggerConfig - The trigger settings that determine how and when the flow runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerConfig

      default FlowDefinition.Builder triggerConfig(Consumer<TriggerConfig.Builder> triggerConfig)

      The trigger settings that determine how and when the flow runs.

      This is a convenience method that creates an instance of the TriggerConfig.Builder avoiding the need to create one manually via TriggerConfig.builder().

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

      Parameters:
      triggerConfig - a consumer that will call methods on TriggerConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: