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