Class CfnIntegration.FlowDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnIntegration.FlowDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIntegration.FlowDefinitionProperty>
- Enclosing interface:
CfnIntegration.FlowDefinitionProperty
@Stability(Stable)
public static final class CfnIntegration.FlowDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIntegration.FlowDefinitionProperty>
A builder for
CfnIntegration.FlowDefinitionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnIntegration.FlowDefinitionProperty.getDescription()
Sets the value ofCfnIntegration.FlowDefinitionProperty.getFlowName()
Sets the value ofCfnIntegration.FlowDefinitionProperty.getKmsArn()
sourceFlowConfig
(IResolvable sourceFlowConfig) Sets the value ofCfnIntegration.FlowDefinitionProperty.getSourceFlowConfig()
sourceFlowConfig
(CfnIntegration.SourceFlowConfigProperty sourceFlowConfig) Sets the value ofCfnIntegration.FlowDefinitionProperty.getSourceFlowConfig()
Sets the value ofCfnIntegration.FlowDefinitionProperty.getTasks()
tasks
(IResolvable tasks) Sets the value ofCfnIntegration.FlowDefinitionProperty.getTasks()
triggerConfig
(IResolvable triggerConfig) Sets the value ofCfnIntegration.FlowDefinitionProperty.getTriggerConfig()
triggerConfig
(CfnIntegration.TriggerConfigProperty triggerConfig) Sets the value ofCfnIntegration.FlowDefinitionProperty.getTriggerConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowName
Sets the value ofCfnIntegration.FlowDefinitionProperty.getFlowName()
- Parameters:
flowName
- The specified name of the flow. This parameter is required. Use underscores (_) or hyphens (-) only. Spaces are not allowed.- Returns:
this
-
kmsArn
Sets the value ofCfnIntegration.FlowDefinitionProperty.getKmsArn()
- Parameters:
kmsArn
- The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key you provide for encryption. This parameter is required.- Returns:
this
-
sourceFlowConfig
@Stability(Stable) public CfnIntegration.FlowDefinitionProperty.Builder sourceFlowConfig(IResolvable sourceFlowConfig) Sets the value ofCfnIntegration.FlowDefinitionProperty.getSourceFlowConfig()
- Parameters:
sourceFlowConfig
- The configuration that controls how Customer Profiles retrieves data from the source. This parameter is required.- Returns:
this
-
sourceFlowConfig
@Stability(Stable) public CfnIntegration.FlowDefinitionProperty.Builder sourceFlowConfig(CfnIntegration.SourceFlowConfigProperty sourceFlowConfig) Sets the value ofCfnIntegration.FlowDefinitionProperty.getSourceFlowConfig()
- Parameters:
sourceFlowConfig
- The configuration that controls how Customer Profiles retrieves data from the source. This parameter is required.- Returns:
this
-
tasks
Sets the value ofCfnIntegration.FlowDefinitionProperty.getTasks()
- Parameters:
tasks
- A list of tasks that Customer Profiles performs while transferring the data in the flow run. This parameter is required.- Returns:
this
-
tasks
@Stability(Stable) public CfnIntegration.FlowDefinitionProperty.Builder tasks(List<? extends Object> tasks) Sets the value ofCfnIntegration.FlowDefinitionProperty.getTasks()
- Parameters:
tasks
- A list of tasks that Customer Profiles performs while transferring the data in the flow run. This parameter is required.- Returns:
this
-
triggerConfig
@Stability(Stable) public CfnIntegration.FlowDefinitionProperty.Builder triggerConfig(IResolvable triggerConfig) Sets the value ofCfnIntegration.FlowDefinitionProperty.getTriggerConfig()
- Parameters:
triggerConfig
- The trigger settings that determine how and when the flow runs. This parameter is required.- Returns:
this
-
triggerConfig
@Stability(Stable) public CfnIntegration.FlowDefinitionProperty.Builder triggerConfig(CfnIntegration.TriggerConfigProperty triggerConfig) Sets the value ofCfnIntegration.FlowDefinitionProperty.getTriggerConfig()
- Parameters:
triggerConfig
- The trigger settings that determine how and when the flow runs. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnIntegration.FlowDefinitionProperty.Builder description(String description) Sets the value ofCfnIntegration.FlowDefinitionProperty.getDescription()
- Parameters:
description
- A description of the flow you want to create.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIntegration.FlowDefinitionProperty>
- Returns:
- a new instance of
CfnIntegration.FlowDefinitionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-