Class CfnFlow.SourceFlowConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.SourceFlowConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.SourceFlowConfigProperty>
- Enclosing interface:
- CfnFlow.SourceFlowConfigProperty
@Stability(Stable)
public static final class CfnFlow.SourceFlowConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.SourceFlowConfigProperty>
A builder for
CfnFlow.SourceFlowConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) Sets the value ofCfnFlow.SourceFlowConfigProperty.getApiVersion()
build()
Builds the configured instance.connectorProfileName
(String connectorProfileName) Sets the value ofCfnFlow.SourceFlowConfigProperty.getConnectorProfileName()
connectorType
(String connectorType) Sets the value ofCfnFlow.SourceFlowConfigProperty.getConnectorType()
incrementalPullConfig
(IResolvable incrementalPullConfig) Sets the value ofCfnFlow.SourceFlowConfigProperty.getIncrementalPullConfig()
incrementalPullConfig
(CfnFlow.IncrementalPullConfigProperty incrementalPullConfig) Sets the value ofCfnFlow.SourceFlowConfigProperty.getIncrementalPullConfig()
sourceConnectorProperties
(IResolvable sourceConnectorProperties) Sets the value ofCfnFlow.SourceFlowConfigProperty.getSourceConnectorProperties()
sourceConnectorProperties
(CfnFlow.SourceConnectorPropertiesProperty sourceConnectorProperties) Sets the value ofCfnFlow.SourceFlowConfigProperty.getSourceConnectorProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorType
@Stability(Stable) public CfnFlow.SourceFlowConfigProperty.Builder connectorType(String connectorType) Sets the value ofCfnFlow.SourceFlowConfigProperty.getConnectorType()
- Parameters:
connectorType
- The type of connector, such as Salesforce, Amplitude, and so on. This parameter is required.- Returns:
this
-
sourceConnectorProperties
@Stability(Stable) public CfnFlow.SourceFlowConfigProperty.Builder sourceConnectorProperties(IResolvable sourceConnectorProperties) Sets the value ofCfnFlow.SourceFlowConfigProperty.getSourceConnectorProperties()
- Parameters:
sourceConnectorProperties
- Specifies the information that is required to query a particular source connector. This parameter is required.- Returns:
this
-
sourceConnectorProperties
@Stability(Stable) public CfnFlow.SourceFlowConfigProperty.Builder sourceConnectorProperties(CfnFlow.SourceConnectorPropertiesProperty sourceConnectorProperties) Sets the value ofCfnFlow.SourceFlowConfigProperty.getSourceConnectorProperties()
- Parameters:
sourceConnectorProperties
- Specifies the information that is required to query a particular source connector. This parameter is required.- Returns:
this
-
apiVersion
Sets the value ofCfnFlow.SourceFlowConfigProperty.getApiVersion()
- Parameters:
apiVersion
- The API version of the connector when it's used as a source in the flow.- Returns:
this
-
connectorProfileName
@Stability(Stable) public CfnFlow.SourceFlowConfigProperty.Builder connectorProfileName(String connectorProfileName) Sets the value ofCfnFlow.SourceFlowConfigProperty.getConnectorProfileName()
- Parameters:
connectorProfileName
- The name of the connector profile. This name must be unique for each connector profile in the AWS account .- Returns:
this
-
incrementalPullConfig
@Stability(Stable) public CfnFlow.SourceFlowConfigProperty.Builder incrementalPullConfig(IResolvable incrementalPullConfig) Sets the value ofCfnFlow.SourceFlowConfigProperty.getIncrementalPullConfig()
- Parameters:
incrementalPullConfig
- Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.- Returns:
this
-
incrementalPullConfig
@Stability(Stable) public CfnFlow.SourceFlowConfigProperty.Builder incrementalPullConfig(CfnFlow.IncrementalPullConfigProperty incrementalPullConfig) Sets the value ofCfnFlow.SourceFlowConfigProperty.getIncrementalPullConfig()
- Parameters:
incrementalPullConfig
- Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.SourceFlowConfigProperty>
- Returns:
- a new instance of
CfnFlow.SourceFlowConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-