Class CfnApplication.RecordFormatProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplication.RecordFormatProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.RecordFormatProperty>
- Enclosing interface:
CfnApplication.RecordFormatProperty
@Stability(Stable)
public static final class CfnApplication.RecordFormatProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.RecordFormatProperty>
A builder for
CfnApplication.RecordFormatProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.mappingParameters
(IResolvable mappingParameters) Sets the value ofCfnApplication.RecordFormatProperty.getMappingParameters()
mappingParameters
(CfnApplication.MappingParametersProperty mappingParameters) Sets the value ofCfnApplication.RecordFormatProperty.getMappingParameters()
recordFormatType
(String recordFormatType) Sets the value ofCfnApplication.RecordFormatProperty.getRecordFormatType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordFormatType
@Stability(Stable) public CfnApplication.RecordFormatProperty.Builder recordFormatType(String recordFormatType) Sets the value ofCfnApplication.RecordFormatProperty.getRecordFormatType()
- Parameters:
recordFormatType
- The type of record format. This parameter is required.- Returns:
this
-
mappingParameters
@Stability(Stable) public CfnApplication.RecordFormatProperty.Builder mappingParameters(IResolvable mappingParameters) Sets the value ofCfnApplication.RecordFormatProperty.getMappingParameters()
- Parameters:
mappingParameters
- When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.- Returns:
this
-
mappingParameters
@Stability(Stable) public CfnApplication.RecordFormatProperty.Builder mappingParameters(CfnApplication.MappingParametersProperty mappingParameters) Sets the value ofCfnApplication.RecordFormatProperty.getMappingParameters()
- Parameters:
mappingParameters
- When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.RecordFormatProperty>
- Returns:
- a new instance of
CfnApplication.RecordFormatProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-