Class CfnApplicationReferenceDataSource.RecordColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationReferenceDataSource.RecordColumnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationReferenceDataSource.RecordColumnProperty>
- Enclosing interface:
CfnApplicationReferenceDataSource.RecordColumnProperty
@Stability(Stable)
public static final class CfnApplicationReferenceDataSource.RecordColumnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationReferenceDataSource.RecordColumnProperty>
A builder for
CfnApplicationReferenceDataSource.RecordColumnProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnApplicationReferenceDataSource.RecordColumnProperty.getMapping()
Sets the value ofCfnApplicationReferenceDataSource.RecordColumnProperty.getName()
Sets the value ofCfnApplicationReferenceDataSource.RecordColumnProperty.getSqlType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnApplicationReferenceDataSource.RecordColumnProperty.Builder name(String name) Sets the value ofCfnApplicationReferenceDataSource.RecordColumnProperty.getName()
- Parameters:
name
- The name of the column that is created in the in-application input stream or reference table. This parameter is required.- Returns:
this
-
sqlType
@Stability(Stable) public CfnApplicationReferenceDataSource.RecordColumnProperty.Builder sqlType(String sqlType) Sets the value ofCfnApplicationReferenceDataSource.RecordColumnProperty.getSqlType()
- Parameters:
sqlType
- The type of column created in the in-application input stream or reference table. This parameter is required.- Returns:
this
-
mapping
@Stability(Stable) public CfnApplicationReferenceDataSource.RecordColumnProperty.Builder mapping(String mapping) Sets the value ofCfnApplicationReferenceDataSource.RecordColumnProperty.getMapping()
- Parameters:
mapping
- A reference to the data element in the streaming input or the reference data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationReferenceDataSource.RecordColumnProperty>
- Returns:
- a new instance of
CfnApplicationReferenceDataSource.RecordColumnProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-