public static interface FlowDefinition.Builder extends SdkPojo, CopyableBuilder<FlowDefinition.Builder,FlowDefinition>
| Modifier and Type | Method and Description |
|---|---|
FlowDefinition.Builder |
createdAt(Instant createdAt)
Specifies when the flow was created.
|
FlowDefinition.Builder |
createdBy(String createdBy)
The ARN of the user who created the flow.
|
FlowDefinition.Builder |
description(String description)
A user-entered description of the flow.
|
FlowDefinition.Builder |
destinationConnectorLabel(String destinationConnectorLabel)
The label of the destination connector in the flow.
|
FlowDefinition.Builder |
destinationConnectorType(ConnectorType destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
FlowDefinition.Builder |
destinationConnectorType(String destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
FlowDefinition.Builder |
flowArn(String flowArn)
The flow's Amazon Resource Name (ARN).
|
FlowDefinition.Builder |
flowName(String flowName)
The specified name of the flow.
|
FlowDefinition.Builder |
flowStatus(FlowStatus flowStatus)
Indicates the current status of the flow.
|
FlowDefinition.Builder |
flowStatus(String flowStatus)
Indicates the current status of the flow.
|
default FlowDefinition.Builder |
lastRunExecutionDetails(Consumer<ExecutionDetails.Builder> lastRunExecutionDetails)
Describes the details of the most recent flow run.
|
FlowDefinition.Builder |
lastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)
Describes the details of the most recent flow run.
|
FlowDefinition.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
Specifies when the flow was last updated.
|
FlowDefinition.Builder |
lastUpdatedBy(String lastUpdatedBy)
Specifies the account user name that most recently updated the flow.
|
FlowDefinition.Builder |
sourceConnectorLabel(String sourceConnectorLabel)
The label of the source connector in the flow.
|
FlowDefinition.Builder |
sourceConnectorType(ConnectorType sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
FlowDefinition.Builder |
sourceConnectorType(String sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
FlowDefinition.Builder |
tags(Map<String,String> tags)
The tags used to organize, track, or control access for your flow.
|
FlowDefinition.Builder |
triggerType(String triggerType)
Specifies the type of flow trigger.
|
FlowDefinition.Builder |
triggerType(TriggerType triggerType)
Specifies the type of flow trigger.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFlowDefinition.Builder flowArn(String flowArn)
The flow's Amazon Resource Name (ARN).
flowArn - The flow's Amazon Resource Name (ARN).FlowDefinition.Builder description(String description)
A user-entered description of the flow.
description - A user-entered description of the flow.FlowDefinition.Builder flowName(String flowName)
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
flowName - The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.FlowDefinition.Builder flowStatus(String flowStatus)
Indicates the current status of the flow.
flowStatus - Indicates the current status of the flow.FlowStatus,
FlowStatusFlowDefinition.Builder flowStatus(FlowStatus flowStatus)
Indicates the current status of the flow.
flowStatus - Indicates the current status of the flow.FlowStatus,
FlowStatusFlowDefinition.Builder sourceConnectorType(String sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
sourceConnectorType - Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType,
ConnectorTypeFlowDefinition.Builder sourceConnectorType(ConnectorType sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
sourceConnectorType - Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType,
ConnectorTypeFlowDefinition.Builder sourceConnectorLabel(String sourceConnectorLabel)
The label of the source connector in the flow.
sourceConnectorLabel - The label of the source connector in the flow.FlowDefinition.Builder destinationConnectorType(String destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
destinationConnectorType - Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType,
ConnectorTypeFlowDefinition.Builder destinationConnectorType(ConnectorType destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
destinationConnectorType - Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType,
ConnectorTypeFlowDefinition.Builder destinationConnectorLabel(String destinationConnectorLabel)
The label of the destination connector in the flow.
destinationConnectorLabel - The label of the destination connector in the flow.FlowDefinition.Builder triggerType(String triggerType)
Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.
triggerType - Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.TriggerType,
TriggerTypeFlowDefinition.Builder triggerType(TriggerType triggerType)
Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.
triggerType - Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.TriggerType,
TriggerTypeFlowDefinition.Builder createdAt(Instant createdAt)
Specifies when the flow was created.
createdAt - Specifies when the flow was created.FlowDefinition.Builder lastUpdatedAt(Instant lastUpdatedAt)
Specifies when the flow was last updated.
lastUpdatedAt - Specifies when the flow was last updated.FlowDefinition.Builder createdBy(String createdBy)
The ARN of the user who created the flow.
createdBy - The ARN of the user who created the flow.FlowDefinition.Builder lastUpdatedBy(String lastUpdatedBy)
Specifies the account user name that most recently updated the flow.
lastUpdatedBy - Specifies the account user name that most recently updated the flow.FlowDefinition.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for your flow.
tags - The tags used to organize, track, or control access for your flow.FlowDefinition.Builder lastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)
Describes the details of the most recent flow run.
lastRunExecutionDetails - Describes the details of the most recent flow run.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 theExecutionDetails.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).
lastRunExecutionDetails - a consumer that will call methods on ExecutionDetails.BuilderlastRunExecutionDetails(ExecutionDetails)Copyright © 2022. All rights reserved.