Class CfnFlowProps.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlowProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowProps>
- Enclosing interface:
- CfnFlowProps
@Stability(Stable)
public static final class CfnFlowProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowProps>
A builder for
CfnFlowProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnFlowProps.getDescription()destinationFlowConfigList(List<? extends Object> destinationFlowConfigList) Sets the value ofCfnFlowProps.getDestinationFlowConfigList()destinationFlowConfigList(IResolvable destinationFlowConfigList) Sets the value ofCfnFlowProps.getDestinationFlowConfigList()Sets the value ofCfnFlowProps.getFlowName()flowStatus(String flowStatus) Sets the value ofCfnFlowProps.getFlowStatus()Sets the value ofCfnFlowProps.getKmsArn()metadataCatalogConfig(IResolvable metadataCatalogConfig) Sets the value ofCfnFlowProps.getMetadataCatalogConfig()metadataCatalogConfig(CfnFlow.MetadataCatalogConfigProperty metadataCatalogConfig) Sets the value ofCfnFlowProps.getMetadataCatalogConfig()sourceFlowConfig(IResolvable sourceFlowConfig) Sets the value ofCfnFlowProps.getSourceFlowConfig()sourceFlowConfig(CfnFlow.SourceFlowConfigProperty sourceFlowConfig) Sets the value ofCfnFlowProps.getSourceFlowConfig()Sets the value ofCfnFlowProps.getTags()Sets the value ofCfnFlowProps.getTasks()tasks(IResolvable tasks) Sets the value ofCfnFlowProps.getTasks()triggerConfig(IResolvable triggerConfig) Sets the value ofCfnFlowProps.getTriggerConfig()triggerConfig(CfnFlow.TriggerConfigProperty triggerConfig) Sets the value ofCfnFlowProps.getTriggerConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationFlowConfigList
@Stability(Stable) public CfnFlowProps.Builder destinationFlowConfigList(IResolvable destinationFlowConfigList) Sets the value ofCfnFlowProps.getDestinationFlowConfigList()- Parameters:
destinationFlowConfigList- The configuration that controls how Amazon AppFlow places data in the destination connector. This parameter is required.- Returns:
this
-
destinationFlowConfigList
@Stability(Stable) public CfnFlowProps.Builder destinationFlowConfigList(List<? extends Object> destinationFlowConfigList) Sets the value ofCfnFlowProps.getDestinationFlowConfigList()- Parameters:
destinationFlowConfigList- The configuration that controls how Amazon AppFlow places data in the destination connector. This parameter is required.- Returns:
this
-
flowName
Sets the value ofCfnFlowProps.getFlowName()- Parameters:
flowName- The specified name of the flow. This parameter is required. Spaces are not allowed. Use underscores (_) or hyphens (-) only.- Returns:
this
-
sourceFlowConfig
Sets the value ofCfnFlowProps.getSourceFlowConfig()- Parameters:
sourceFlowConfig- Contains information about the configuration of the source connector used in the flow. This parameter is required.- Returns:
this
-
sourceFlowConfig
@Stability(Stable) public CfnFlowProps.Builder sourceFlowConfig(CfnFlow.SourceFlowConfigProperty sourceFlowConfig) Sets the value ofCfnFlowProps.getSourceFlowConfig()- Parameters:
sourceFlowConfig- Contains information about the configuration of the source connector used in the flow. This parameter is required.- Returns:
this
-
tasks
Sets the value ofCfnFlowProps.getTasks()- Parameters:
tasks- A list of tasks that Amazon AppFlow performs while transferring the data in the flow run. This parameter is required.- Returns:
this
-
tasks
Sets the value ofCfnFlowProps.getTasks()- Parameters:
tasks- A list of tasks that Amazon AppFlow performs while transferring the data in the flow run. This parameter is required.- Returns:
this
-
triggerConfig
Sets the value ofCfnFlowProps.getTriggerConfig()- Parameters:
triggerConfig- The trigger settings that determine how and when Amazon AppFlow runs the specified flow. This parameter is required.- Returns:
this
-
triggerConfig
@Stability(Stable) public CfnFlowProps.Builder triggerConfig(CfnFlow.TriggerConfigProperty triggerConfig) Sets the value ofCfnFlowProps.getTriggerConfig()- Parameters:
triggerConfig- The trigger settings that determine how and when Amazon AppFlow runs the specified flow. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnFlowProps.getDescription()- Parameters:
description- A user-entered description of the flow.- Returns:
this
-
flowStatus
Sets the value ofCfnFlowProps.getFlowStatus()- Parameters:
flowStatus- Sets the status of the flow. You can specify one of the following values:.- Active - The flow runs based on the trigger settings that you defined. Active scheduled flows run as scheduled, and active event-triggered flows run when the specified change event occurs. However, active on-demand flows run only when you manually start them by using Amazon AppFlow.
- Suspended - You can use this option to deactivate an active flow. Scheduled and event-triggered flows will cease to run until you reactive them. This value only affects scheduled and event-triggered flows. It has no effect for on-demand flows.
If you omit the FlowStatus parameter, Amazon AppFlow creates the flow with a default status. The default status for on-demand flows is Active. The default status for scheduled and event-triggered flows is Draft, which means they’re not yet active.
- Returns:
this
-
kmsArn
Sets the value ofCfnFlowProps.getKmsArn()- Parameters:
kmsArn- The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.- Returns:
this
-
metadataCatalogConfig
@Stability(Stable) public CfnFlowProps.Builder metadataCatalogConfig(IResolvable metadataCatalogConfig) Sets the value ofCfnFlowProps.getMetadataCatalogConfig()- Parameters:
metadataCatalogConfig-AWS::AppFlow::Flow.MetadataCatalogConfig.- Returns:
this
-
metadataCatalogConfig
@Stability(Stable) public CfnFlowProps.Builder metadataCatalogConfig(CfnFlow.MetadataCatalogConfigProperty metadataCatalogConfig) Sets the value ofCfnFlowProps.getMetadataCatalogConfig()- Parameters:
metadataCatalogConfig-AWS::AppFlow::Flow.MetadataCatalogConfig.- Returns:
this
-
tags
Sets the value ofCfnFlowProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for your flow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowProps>- Returns:
- a new instance of
CfnFlowProps - Throws:
NullPointerException- if any required attribute was not provided
-