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