Interface FlowDefinition.Builder

    • Method Detail

      • 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, FlowStatus
      • 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:
        FlowStatus, FlowStatus
      • 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:
        ConnectorType, ConnectorType
      • 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:
        ConnectorType, ConnectorType
      • 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:
        ConnectorType, ConnectorType
      • 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:
        ConnectorType, ConnectorType
      • 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, TriggerType
      • 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:
        TriggerType, TriggerType
      • 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

        FlowDefinition.Builder tags​(Map<String,​String> 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.