Class CfnApplicationV2.RecordFormatProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.RecordFormatProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.RecordFormatProperty>
- Enclosing interface:
CfnApplicationV2.RecordFormatProperty
@Stability(Stable)
public static final class CfnApplicationV2.RecordFormatProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.RecordFormatProperty>
A builder for
CfnApplicationV2.RecordFormatProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.mappingParameters
(IResolvable mappingParameters) Sets the value ofCfnApplicationV2.RecordFormatProperty.getMappingParameters()
mappingParameters
(CfnApplicationV2.MappingParametersProperty mappingParameters) Sets the value ofCfnApplicationV2.RecordFormatProperty.getMappingParameters()
recordFormatType
(String recordFormatType) Sets the value ofCfnApplicationV2.RecordFormatProperty.getRecordFormatType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordFormatType
@Stability(Stable) public CfnApplicationV2.RecordFormatProperty.Builder recordFormatType(String recordFormatType) Sets the value ofCfnApplicationV2.RecordFormatProperty.getRecordFormatType()
- Parameters:
recordFormatType
- The type of record format. This parameter is required.- Returns:
this
-
mappingParameters
@Stability(Stable) public CfnApplicationV2.RecordFormatProperty.Builder mappingParameters(IResolvable mappingParameters) Sets the value ofCfnApplicationV2.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 CfnApplicationV2.RecordFormatProperty.Builder mappingParameters(CfnApplicationV2.MappingParametersProperty mappingParameters) Sets the value ofCfnApplicationV2.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<CfnApplicationV2.RecordFormatProperty>
- Returns:
- a new instance of
CfnApplicationV2.RecordFormatProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-