Class CfnApplicationReferenceDataSourceV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSourceV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceV2Props>
- Enclosing interface:
CfnApplicationReferenceDataSourceV2Props
@Stability(Stable)
public static final class CfnApplicationReferenceDataSourceV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceV2Props>
A builder for
CfnApplicationReferenceDataSourceV2Props
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) Sets the value ofCfnApplicationReferenceDataSourceV2Props.getApplicationName()
build()
Builds the configured instance.referenceDataSource
(IResolvable referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceV2Props.getReferenceDataSource()
referenceDataSource
(CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceV2Props.getReferenceDataSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public CfnApplicationReferenceDataSourceV2Props.Builder applicationName(String applicationName) Sets the value ofCfnApplicationReferenceDataSourceV2Props.getApplicationName()
- Parameters:
applicationName
- The name of the application. This parameter is required.- Returns:
this
-
referenceDataSource
@Stability(Stable) public CfnApplicationReferenceDataSourceV2Props.Builder referenceDataSource(IResolvable referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceV2Props.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 CfnApplicationReferenceDataSourceV2Props.Builder referenceDataSource(CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty referenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceV2Props.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<CfnApplicationReferenceDataSourceV2Props>
- Returns:
- a new instance of
CfnApplicationReferenceDataSourceV2Props
- Throws:
NullPointerException
- if any required attribute was not provided
-