Interface FlowDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowDefinition.Builder,
,FlowDefinition> SdkBuilder<FlowDefinition.Builder,
,FlowDefinition> SdkPojo
- Enclosing class:
FlowDefinition
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies when the flow was created.The ARN of the user who created the flow.description
(String description) A user-entered description of the flow.destinationConnectorLabel
(String destinationConnectorLabel) The label of the destination connector in the flow.destinationConnectorType
(String destinationConnectorType) Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.destinationConnectorType
(ConnectorType destinationConnectorType) Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.The flow's Amazon Resource Name (ARN).The specified name of the flow.flowStatus
(String flowStatus) Indicates the current status of the flow.flowStatus
(FlowStatus 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.lastRunExecutionDetails
(ExecutionDetails lastRunExecutionDetails) Describes the details of the most recent flow run.lastUpdatedAt
(Instant lastUpdatedAt) Specifies when the flow was last updated.lastUpdatedBy
(String lastUpdatedBy) Specifies the account user name that most recently updated the flow.sourceConnectorLabel
(String sourceConnectorLabel) The label of the source connector in the flow.sourceConnectorType
(String sourceConnectorType) Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.sourceConnectorType
(ConnectorType sourceConnectorType) Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.The tags used to organize, track, or control access for your flow.triggerType
(String triggerType) Specifies the type of flow trigger.triggerType
(TriggerType triggerType) Specifies the type of flow trigger.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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
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
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
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
Specifies the type of flow trigger. This can be
OnDemand
,Scheduled
, orEvent
.- Parameters:
triggerType
- Specifies the type of flow trigger. This can beOnDemand
,Scheduled
, orEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerType
Specifies the type of flow trigger. This can be
OnDemand
,Scheduled
, orEvent
.- Parameters:
triggerType
- Specifies the type of flow trigger. This can beOnDemand
,Scheduled
, orEvent
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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 theExecutionDetails.Builder
avoiding the need to create one manually viaExecutionDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastRunExecutionDetails(ExecutionDetails)
.- Parameters:
lastRunExecutionDetails
- a consumer that will call methods onExecutionDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-