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

    • flowArn

      FlowDefinition.Builder flowArn(String flowArn)

      The flow's Amazon Resource Name (ARN).

      Parameters:
      flowArn - The flow's Amazon Resource Name (ARN).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      FlowDefinition.Builder description(String description)

      A user-entered description of the flow.

      Parameters:
      description - A user-entered description of the flow.
      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. Spaces are not allowed. Use underscores (_) or hyphens (-) only.

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

      FlowDefinition.Builder flowStatus(String flowStatus)

      Indicates the current status of the flow.

      Parameters:
      flowStatus - Indicates the current status of the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • flowStatus

      FlowDefinition.Builder flowStatus(FlowStatus flowStatus)

      Indicates the current status of the flow.

      Parameters:
      flowStatus - Indicates the current status of the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceConnectorType

      FlowDefinition.Builder sourceConnectorType(String sourceConnectorType)

      Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.

      Parameters:
      sourceConnectorType - Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceConnectorType

      FlowDefinition.Builder sourceConnectorType(ConnectorType sourceConnectorType)

      Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.

      Parameters:
      sourceConnectorType - Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceConnectorLabel

      FlowDefinition.Builder sourceConnectorLabel(String sourceConnectorLabel)

      The label of the source connector in the flow.

      Parameters:
      sourceConnectorLabel - The label of the source connector in the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationConnectorType

      FlowDefinition.Builder destinationConnectorType(String destinationConnectorType)

      Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.

      Parameters:
      destinationConnectorType - Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • destinationConnectorType

      FlowDefinition.Builder destinationConnectorType(ConnectorType destinationConnectorType)

      Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.

      Parameters:
      destinationConnectorType - Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • destinationConnectorLabel

      FlowDefinition.Builder destinationConnectorLabel(String destinationConnectorLabel)

      The label of the destination connector in the flow.

      Parameters:
      destinationConnectorLabel - The label of the destination connector in the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerType

      FlowDefinition.Builder triggerType(String triggerType)

      Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.

      Parameters:
      triggerType - Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • triggerType

      FlowDefinition.Builder triggerType(TriggerType triggerType)

      Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.

      Parameters:
      triggerType - Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      FlowDefinition.Builder createdAt(Instant createdAt)

      Specifies when the flow was created.

      Parameters:
      createdAt - Specifies when the flow was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      FlowDefinition.Builder lastUpdatedAt(Instant lastUpdatedAt)

      Specifies when the flow was last updated.

      Parameters:
      lastUpdatedAt - Specifies when the flow was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      FlowDefinition.Builder createdBy(String createdBy)

      The ARN of the user who created the flow.

      Parameters:
      createdBy - The ARN of the user who created the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedBy

      FlowDefinition.Builder lastUpdatedBy(String lastUpdatedBy)

      Specifies the account user name that most recently updated the flow.

      Parameters:
      lastUpdatedBy - Specifies the account user name that most recently updated the flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for your flow.

      Parameters:
      tags - The tags used to organize, track, or control access for your flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastRunExecutionDetails

      FlowDefinition.Builder lastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)

      Describes the details of the most recent flow run.

      Parameters:
      lastRunExecutionDetails - Describes the details of the most recent flow run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastRunExecutionDetails

      default FlowDefinition.Builder lastRunExecutionDetails(Consumer<ExecutionDetails.Builder> lastRunExecutionDetails)

      Describes the details of the most recent flow run.

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

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

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