Interface FlowDefinition.Builder

    • Method Detail

      • 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

        FlowDefinition.Builder kmsArn​(String 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.
      • tasks

        FlowDefinition.Builder tasks​(Collection<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

        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

        FlowDefinition.Builder tasks​(Consumer<Task.Builder>... 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).

        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:
        #tasks(java.util.Collection)
      • 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.