Class CfnApplicationV2.MappingParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.MappingParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.MappingParametersProperty>
- Enclosing interface:
CfnApplicationV2.MappingParametersProperty
@Stability(Stable)
public static final class CfnApplicationV2.MappingParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.MappingParametersProperty>
A builder for
CfnApplicationV2.MappingParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.csvMappingParameters
(IResolvable csvMappingParameters) Sets the value ofCfnApplicationV2.MappingParametersProperty.getCsvMappingParameters()
csvMappingParameters
(CfnApplicationV2.CSVMappingParametersProperty csvMappingParameters) Sets the value ofCfnApplicationV2.MappingParametersProperty.getCsvMappingParameters()
jsonMappingParameters
(IResolvable jsonMappingParameters) Sets the value ofCfnApplicationV2.MappingParametersProperty.getJsonMappingParameters()
jsonMappingParameters
(CfnApplicationV2.JSONMappingParametersProperty jsonMappingParameters) Sets the value ofCfnApplicationV2.MappingParametersProperty.getJsonMappingParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
csvMappingParameters
@Stability(Stable) public CfnApplicationV2.MappingParametersProperty.Builder csvMappingParameters(IResolvable csvMappingParameters) Sets the value ofCfnApplicationV2.MappingParametersProperty.getCsvMappingParameters()
- Parameters:
csvMappingParameters
- Provides additional mapping information when the record format uses delimiters (for example, CSV).- Returns:
this
-
csvMappingParameters
@Stability(Stable) public CfnApplicationV2.MappingParametersProperty.Builder csvMappingParameters(CfnApplicationV2.CSVMappingParametersProperty csvMappingParameters) Sets the value ofCfnApplicationV2.MappingParametersProperty.getCsvMappingParameters()
- Parameters:
csvMappingParameters
- Provides additional mapping information when the record format uses delimiters (for example, CSV).- Returns:
this
-
jsonMappingParameters
@Stability(Stable) public CfnApplicationV2.MappingParametersProperty.Builder jsonMappingParameters(IResolvable jsonMappingParameters) Sets the value ofCfnApplicationV2.MappingParametersProperty.getJsonMappingParameters()
- Parameters:
jsonMappingParameters
- Provides additional mapping information when JSON is the record format on the streaming source.- Returns:
this
-
jsonMappingParameters
@Stability(Stable) public CfnApplicationV2.MappingParametersProperty.Builder jsonMappingParameters(CfnApplicationV2.JSONMappingParametersProperty jsonMappingParameters) Sets the value ofCfnApplicationV2.MappingParametersProperty.getJsonMappingParameters()
- Parameters:
jsonMappingParameters
- Provides additional mapping information when JSON is the record format on the streaming source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationV2.MappingParametersProperty>
- Returns:
- a new instance of
CfnApplicationV2.MappingParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-