Class CfnApplicationReferenceDataSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationReferenceDataSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceProps>
- Enclosing interface:
CfnApplicationReferenceDataSourceProps
@Stability(Stable)
public static final class CfnApplicationReferenceDataSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceProps>
A builder for
CfnApplicationReferenceDataSourceProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) Sets the value ofCfnApplicationReferenceDataSourceProps.getApplicationName()
build()
Builds the configured instance.referenceDataSource
(IResolvable referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceProps.getReferenceDataSource()
referenceDataSource
(CfnApplicationReferenceDataSource.ReferenceDataSourceProperty referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceProps.getReferenceDataSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public CfnApplicationReferenceDataSourceProps.Builder applicationName(String applicationName) Sets the value ofCfnApplicationReferenceDataSourceProps.getApplicationName()
- Parameters:
applicationName
- The name of the application. This parameter is required.- Returns:
this
-
referenceDataSource
@Stability(Stable) public CfnApplicationReferenceDataSourceProps.Builder referenceDataSource(IResolvable referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceProps.getReferenceDataSource()
- Parameters:
referenceDataSource
- For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table. This parameter is required.- Returns:
this
-
referenceDataSource
@Stability(Stable) public CfnApplicationReferenceDataSourceProps.Builder referenceDataSource(CfnApplicationReferenceDataSource.ReferenceDataSourceProperty referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceProps.getReferenceDataSource()
- Parameters:
referenceDataSource
- For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationReferenceDataSourceProps>
- Returns:
- a new instance of
CfnApplicationReferenceDataSourceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-