Class CfnApplication.RecordColumnProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplication.RecordColumnProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.RecordColumnProperty>
- Enclosing interface:
CfnApplication.RecordColumnProperty
@Stability(Stable)
public static final class CfnApplication.RecordColumnProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.RecordColumnProperty>
A builder for
CfnApplication.RecordColumnProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApplication.RecordColumnProperty.getMapping()Sets the value ofCfnApplication.RecordColumnProperty.getName()Sets the value ofCfnApplication.RecordColumnProperty.getSqlType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnApplication.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
Sets the value ofCfnApplication.RecordColumnProperty.getSqlType()- Parameters:
sqlType- Type of column created in the in-application input stream or reference table. This parameter is required.- Returns:
this
-
mapping
Sets the value ofCfnApplication.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<CfnApplication.RecordColumnProperty>- Returns:
- a new instance of
CfnApplication.RecordColumnProperty - Throws:
NullPointerException- if any required attribute was not provided
-