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