Class CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationReferenceDataSource.ReferenceDataSourceProperty>
- Enclosing interface:
CfnApplicationReferenceDataSource.ReferenceDataSourceProperty
@Stability(Stable)
public static final class CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationReferenceDataSource.ReferenceDataSourceProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.referenceSchema
(IResolvable referenceSchema) referenceSchema
(CfnApplicationReferenceDataSource.ReferenceSchemaProperty referenceSchema) s3ReferenceDataSource
(IResolvable s3ReferenceDataSource) s3ReferenceDataSource
(CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty s3ReferenceDataSource)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
referenceSchema
@Stability(Stable) public CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder referenceSchema(IResolvable referenceSchema) Sets the value ofCfnApplicationReferenceDataSource.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 CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder referenceSchema(CfnApplicationReferenceDataSource.ReferenceSchemaProperty referenceSchema) Sets the value ofCfnApplicationReferenceDataSource.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 CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder s3ReferenceDataSource(IResolvable s3ReferenceDataSource) Sets the value ofCfnApplicationReferenceDataSource.ReferenceDataSourceProperty.getS3ReferenceDataSource()
- Parameters:
s3ReferenceDataSource
- Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf. An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call theUpdateApplication
operation to trigger reloading of data into your application.- Returns:
this
-
s3ReferenceDataSource
@Stability(Stable) public CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder s3ReferenceDataSource(CfnApplicationReferenceDataSource.S3ReferenceDataSourceProperty s3ReferenceDataSource) Sets the value ofCfnApplicationReferenceDataSource.ReferenceDataSourceProperty.getS3ReferenceDataSource()
- Parameters:
s3ReferenceDataSource
- Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf. An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call theUpdateApplication
operation to trigger reloading of data into your application.- Returns:
this
-
tableName
@Stability(Stable) public CfnApplicationReferenceDataSource.ReferenceDataSourceProperty.Builder tableName(String tableName) - Parameters:
tableName
- Name of the in-application table to create.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationReferenceDataSource.ReferenceDataSourceProperty>
- Returns:
- a new instance of
CfnApplicationReferenceDataSource.ReferenceDataSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-