Class CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty>
- Enclosing interface:
CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty
@Stability(Stable)
public static final class CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.referenceSchema
(IResolvable referenceSchema) s3ReferenceDataSource
(IResolvable s3ReferenceDataSource) s3ReferenceDataSource
(CfnApplicationReferenceDataSourceV2.S3ReferenceDataSourceProperty s3ReferenceDataSource)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
referenceSchema
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.Builder referenceSchema(IResolvable referenceSchema) Sets the value ofCfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.getReferenceSchema()
- Parameters:
referenceSchema
- Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream. This parameter is required.- Returns:
this
-
referenceSchema
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.Builder referenceSchema(CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty referenceSchema) Sets the value ofCfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.getReferenceSchema()
- Parameters:
referenceSchema
- Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream. This parameter is required.- Returns:
this
-
s3ReferenceDataSource
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.Builder s3ReferenceDataSource(IResolvable s3ReferenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.getS3ReferenceDataSource()
- Parameters:
s3ReferenceDataSource
- Identifies the S3 bucket and object that contains the reference data. A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.- Returns:
this
-
s3ReferenceDataSource
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.Builder s3ReferenceDataSource(CfnApplicationReferenceDataSourceV2.S3ReferenceDataSourceProperty s3ReferenceDataSource) Sets the value ofCfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.getS3ReferenceDataSource()
- Parameters:
s3ReferenceDataSource
- Identifies the S3 bucket and object that contains the reference data. A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.- Returns:
this
-
tableName
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty.Builder tableName(String tableName) - Parameters:
tableName
- The name of the in-application table to create.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty>
- Returns:
- a new instance of
CfnApplicationReferenceDataSourceV2.ReferenceDataSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-