Class CfnApplication.InputSchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplication.InputSchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.InputSchemaProperty>
- Enclosing interface:
- CfnApplication.InputSchemaProperty
@Stability(Stable)
public static final class CfnApplication.InputSchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.InputSchemaProperty>
A builder for
CfnApplication.InputSchemaProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.recordColumns
(List<? extends Object> recordColumns) Sets the value ofCfnApplication.InputSchemaProperty.getRecordColumns()
recordColumns
(IResolvable recordColumns) Sets the value ofCfnApplication.InputSchemaProperty.getRecordColumns()
recordEncoding
(String recordEncoding) Sets the value ofCfnApplication.InputSchemaProperty.getRecordEncoding()
recordFormat
(IResolvable recordFormat) Sets the value ofCfnApplication.InputSchemaProperty.getRecordFormat()
recordFormat
(CfnApplication.RecordFormatProperty recordFormat) Sets the value ofCfnApplication.InputSchemaProperty.getRecordFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordColumns
@Stability(Stable) public CfnApplication.InputSchemaProperty.Builder recordColumns(IResolvable recordColumns) Sets the value ofCfnApplication.InputSchemaProperty.getRecordColumns()
- Parameters:
recordColumns
- A list ofRecordColumn
objects. This parameter is required.- Returns:
this
-
recordColumns
@Stability(Stable) public CfnApplication.InputSchemaProperty.Builder recordColumns(List<? extends Object> recordColumns) Sets the value ofCfnApplication.InputSchemaProperty.getRecordColumns()
- Parameters:
recordColumns
- A list ofRecordColumn
objects. This parameter is required.- Returns:
this
-
recordFormat
@Stability(Stable) public CfnApplication.InputSchemaProperty.Builder recordFormat(IResolvable recordFormat) Sets the value ofCfnApplication.InputSchemaProperty.getRecordFormat()
- Parameters:
recordFormat
- Specifies the format of the records on the streaming source. This parameter is required.- Returns:
this
-
recordFormat
@Stability(Stable) public CfnApplication.InputSchemaProperty.Builder recordFormat(CfnApplication.RecordFormatProperty recordFormat) Sets the value ofCfnApplication.InputSchemaProperty.getRecordFormat()
- Parameters:
recordFormat
- Specifies the format of the records on the streaming source. This parameter is required.- Returns:
this
-
recordEncoding
@Stability(Stable) public CfnApplication.InputSchemaProperty.Builder recordEncoding(String recordEncoding) Sets the value ofCfnApplication.InputSchemaProperty.getRecordEncoding()
- Parameters:
recordEncoding
- Specifies the encoding of the records in the streaming source. For example, UTF-8.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.InputSchemaProperty>
- Returns:
- a new instance of
CfnApplication.InputSchemaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-