Interface CfnApplicationReferenceDataSource.ReferenceSchemaProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationReferenceDataSource.ReferenceSchemaProperty.Jsii$Proxy
- Enclosing class:
CfnApplicationReferenceDataSource
@Stability(Stable)
public static interface CfnApplicationReferenceDataSource.ReferenceSchemaProperty
extends software.amazon.jsii.JsiiSerializable
The ReferenceSchema property type specifies the format of the data in the reference source for a SQL-based Amazon Kinesis Data Analytics application.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisanalytics.*;
ReferenceSchemaProperty referenceSchemaProperty = ReferenceSchemaProperty.builder()
.recordColumns(List.of(RecordColumnProperty.builder()
.name("name")
.sqlType("sqlType")
// the properties below are optional
.mapping("mapping")
.build()))
.recordFormat(RecordFormatProperty.builder()
.recordFormatType("recordFormatType")
// the properties below are optional
.mappingParameters(MappingParametersProperty.builder()
.csvMappingParameters(CSVMappingParametersProperty.builder()
.recordColumnDelimiter("recordColumnDelimiter")
.recordRowDelimiter("recordRowDelimiter")
.build())
.jsonMappingParameters(JSONMappingParametersProperty.builder()
.recordRowPath("recordRowPath")
.build())
.build())
.build())
// the properties below are optional
.recordEncoding("recordEncoding")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnApplicationReferenceDataSource.ReferenceSchemaProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRecordColumns
A list of RecordColumn objects.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplicationReferenceDataSource.RecordColumnProperty>- See Also:
-
getRecordFormat
Specifies the format of the records on the reference source.Returns union: either
IResolvableorCfnApplicationReferenceDataSource.RecordFormatProperty- See Also:
-
getRecordEncoding
Specifies the encoding of the records in the reference source.For example, UTF-8.
- See Also:
-
builder
@Stability(Stable) static CfnApplicationReferenceDataSource.ReferenceSchemaProperty.Builder builder()
-