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