Class CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.scn.CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty>
- Enclosing interface:
CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty
@Stability(Stable)
public static final class CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty>
A builder for
CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetSource(IResolvable datasetSource) s3Source(IResolvable s3Source) Sets the value ofCfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.getS3Source()Sets the value ofCfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.getS3Source()sourceName(String sourceName) Sets the value ofCfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.getSourceName()sourceType(String sourceType) Sets the value ofCfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.getSourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceName
@Stability(Stable) public CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.Builder sourceName(String sourceName) Sets the value ofCfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.getSourceName()- Parameters:
sourceName- The source name that can be used as table alias in SQL transformation query. This parameter is required.- Returns:
this
-
sourceType
@Stability(Stable) public CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.Builder sourceType(String sourceType) Sets the value ofCfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.getSourceType()- Parameters:
sourceType- The source type. This parameter is required.- Returns:
this
-
datasetSource
@Stability(Stable) public CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.Builder datasetSource(IResolvable datasetSource) - Parameters:
datasetSource- The dataset source configuration parameters.- Returns:
this
-
datasetSource
@Stability(Stable) public CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.Builder datasetSource(CfnDataIntegrationFlow.DatasetSourceConfigurationProperty datasetSource) - Parameters:
datasetSource- The dataset source configuration parameters.- Returns:
this
-
s3Source
@Stability(Stable) public CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.Builder s3Source(IResolvable s3Source) Sets the value ofCfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.getS3Source()- Parameters:
s3Source- The S3 source configuration parameters.- Returns:
this
-
s3Source
@Stability(Stable) public CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.Builder s3Source(CfnDataIntegrationFlow.S3SourceConfigurationProperty s3Source) Sets the value ofCfnDataIntegrationFlow.DataIntegrationFlowSourceProperty.getS3Source()- Parameters:
s3Source- The S3 source configuration parameters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty>- Returns:
- a new instance of
CfnDataIntegrationFlow.DataIntegrationFlowSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-