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.Builderdescription(String description)A description of the flow you want to create.FlowDefinition.BuilderflowName(String flowName)The specified name of the flow.FlowDefinition.BuilderkmsArn(String kmsArn)The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.default FlowDefinition.BuildersourceFlowConfig(Consumer<SourceFlowConfig.Builder> sourceFlowConfig)The configuration that controls how Customer Profiles retrieves data from the source.FlowDefinition.BuildersourceFlowConfig(SourceFlowConfig sourceFlowConfig)The configuration that controls how Customer Profiles retrieves data from the source.FlowDefinition.Buildertasks(Collection<Task> tasks)A list of tasks that Customer Profiles performs while transferring the data in the flow run.FlowDefinition.Buildertasks(Consumer<Task.Builder>... tasks)A list of tasks that Customer Profiles performs while transferring the data in the flow run.FlowDefinition.Buildertasks(Task... tasks)A list of tasks that Customer Profiles performs while transferring the data in the flow run.default FlowDefinition.BuildertriggerConfig(Consumer<TriggerConfig.Builder> triggerConfig)The trigger settings that determine how and when the flow runs.FlowDefinition.BuildertriggerConfig(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 Detail
-
description
FlowDefinition.Builder description(String 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
FlowDefinition.Builder flowName(String 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
FlowDefinition.Builder kmsArn(String 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
FlowDefinition.Builder sourceFlowConfig(SourceFlowConfig 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.Builderavoiding the need to create one manually viaSourceFlowConfig.builder().When the
Consumercompletes,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:
sourceFlowConfig(SourceFlowConfig)
-
tasks
FlowDefinition.Builder tasks(Collection<Task> 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
FlowDefinition.Builder tasks(Task... 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
FlowDefinition.Builder tasks(Consumer<Task.Builder>... 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.Builderavoiding the need to create one manually viaTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tasks(List.) - 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:
#tasks(java.util.Collection)
-
triggerConfig
FlowDefinition.Builder triggerConfig(TriggerConfig 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
default FlowDefinition.Builder triggerConfig(Consumer<TriggerConfig.Builder> triggerConfig)
The trigger settings that determine how and when the flow runs.
This is a convenience method that creates an instance of theTriggerConfig.Builderavoiding the need to create one manually viaTriggerConfig.builder().When the
Consumercompletes,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:
triggerConfig(TriggerConfig)
-
-