Class CfnApplicationReferenceDataSource.RecordColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.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
Constructors -
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- Name of the column 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- 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- Reference to the data element in the streaming input or the reference data source. This element is required if the RecordFormatType isJSON.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationReferenceDataSource.RecordColumnProperty>- Returns:
- a new instance of
CfnApplicationReferenceDataSource.RecordColumnProperty - Throws:
NullPointerException- if any required attribute was not provided
-