Interface FlowDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowDefinition.Builder,
,FlowDefinition> SdkBuilder<FlowDefinition.Builder,
,FlowDefinition> SdkPojo
- Enclosing class:
FlowDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the flow you want to create.The specified name of the flow.The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.default FlowDefinition.Builder
sourceFlowConfig
(Consumer<SourceFlowConfig.Builder> sourceFlowConfig) The configuration that controls how Customer Profiles retrieves data from the source.sourceFlowConfig
(SourceFlowConfig sourceFlowConfig) The configuration that controls how Customer Profiles retrieves data from the source.tasks
(Collection<Task> tasks) A list of tasks that Customer Profiles performs while transferring the data in the flow run.tasks
(Consumer<Task.Builder>... tasks) A list of tasks that Customer Profiles performs while transferring the data in the flow run.A list of tasks that Customer Profiles performs while transferring the data in the flow run.default FlowDefinition.Builder
triggerConfig
(Consumer<TriggerConfig.Builder> triggerConfig) The trigger settings that determine how and when the flow runs.triggerConfig
(TriggerConfig triggerConfig) The trigger settings that determine how and when the flow runs.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
-
description
A description of the flow you want to create.
- Parameters:
description
- A description of the flow you want to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowName
The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
- Parameters:
flowName
- The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsArn
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
- Parameters:
kmsArn
- The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFlowConfig
The configuration that controls how Customer Profiles retrieves data from the source.
- Parameters:
sourceFlowConfig
- The configuration that controls how Customer Profiles retrieves data from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFlowConfig
default FlowDefinition.Builder sourceFlowConfig(Consumer<SourceFlowConfig.Builder> sourceFlowConfig) The configuration that controls how Customer Profiles retrieves data from the source.
This is a convenience method that creates an instance of theSourceFlowConfig.Builder
avoiding the need to create one manually viaSourceFlowConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceFlowConfig(SourceFlowConfig)
.- Parameters:
sourceFlowConfig
- a consumer that will call methods onSourceFlowConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tasks
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
- Parameters:
tasks
- A list of tasks that Customer Profiles performs while transferring the data in the flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
- Parameters:
tasks
- A list of tasks that Customer Profiles performs while transferring the data in the flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
This is a convenience method that creates an instance of theTask.Builder
avoiding the need to create one manually viaTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totasks(List<Task>)
.- Parameters:
tasks
- a consumer that will call methods onTask.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerConfig
The trigger settings that determine how and when the flow runs.
- Parameters:
triggerConfig
- The trigger settings that determine how and when the flow runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfig
The trigger settings that determine how and when the flow runs.
This is a convenience method that creates an instance of theTriggerConfig.Builder
avoiding the need to create one manually viaTriggerConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totriggerConfig(TriggerConfig)
.- Parameters:
triggerConfig
- a consumer that will call methods onTriggerConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-