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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FlowDefinition.BuildercreatedAt(Instant createdAt)Specifies when the flow was created.FlowDefinition.BuildercreatedBy(String createdBy)The ARN of the user who created the flow.FlowDefinition.Builderdescription(String description)A user-entered description of the flow.FlowDefinition.BuilderdestinationConnectorLabel(String destinationConnectorLabel)The label of the destination connector in the flow.FlowDefinition.BuilderdestinationConnectorType(String destinationConnectorType)Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.FlowDefinition.BuilderdestinationConnectorType(ConnectorType destinationConnectorType)Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.FlowDefinition.BuilderflowArn(String flowArn)The flow's Amazon Resource Name (ARN).FlowDefinition.BuilderflowName(String flowName)The specified name of the flow.FlowDefinition.BuilderflowStatus(String flowStatus)Indicates the current status of the flow.FlowDefinition.BuilderflowStatus(FlowStatus flowStatus)Indicates the current status of the flow.default FlowDefinition.BuilderlastRunExecutionDetails(Consumer<ExecutionDetails.Builder> lastRunExecutionDetails)Describes the details of the most recent flow run.FlowDefinition.BuilderlastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)Describes the details of the most recent flow run.FlowDefinition.BuilderlastUpdatedAt(Instant lastUpdatedAt)Specifies when the flow was last updated.FlowDefinition.BuilderlastUpdatedBy(String lastUpdatedBy)Specifies the account user name that most recently updated the flow.FlowDefinition.BuildersourceConnectorLabel(String sourceConnectorLabel)The label of the source connector in the flow.FlowDefinition.BuildersourceConnectorType(String sourceConnectorType)Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.FlowDefinition.BuildersourceConnectorType(ConnectorType sourceConnectorType)Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.FlowDefinition.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for your flow.FlowDefinition.BuildertriggerType(String triggerType)Specifies the type of flow trigger.FlowDefinition.BuildertriggerType(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 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, 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,TriggerType
-
triggerType
FlowDefinition.Builder triggerType(TriggerType 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,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.
-
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.Builderavoiding the need to create one manually viaExecutionDetails.builder().When the
Consumercompletes,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:
lastRunExecutionDetails(ExecutionDetails)
-
-