Class CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty>
- Enclosing interface:
CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty
@Stability(Stable)
public static final class CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.recordColumns
(List<? extends Object> recordColumns) recordColumns
(IResolvable recordColumns) recordEncoding
(String recordEncoding) recordFormat
(IResolvable recordFormat)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordColumns
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty.Builder recordColumns(IResolvable recordColumns) - Parameters:
recordColumns
- A list ofRecordColumn
objects. This parameter is required.- Returns:
this
-
recordColumns
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty.Builder recordColumns(List<? extends Object> recordColumns) - Parameters:
recordColumns
- A list ofRecordColumn
objects. This parameter is required.- Returns:
this
-
recordFormat
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty.Builder recordFormat(IResolvable recordFormat) - Parameters:
recordFormat
- Specifies the format of the records on the streaming source. This parameter is required.- Returns:
this
-
recordFormat
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty.Builder recordFormat(CfnApplicationReferenceDataSourceV2.RecordFormatProperty recordFormat) - Parameters:
recordFormat
- Specifies the format of the records on the streaming source. This parameter is required.- Returns:
this
-
recordEncoding
@Stability(Stable) public CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty.Builder recordEncoding(String recordEncoding) - Parameters:
recordEncoding
- Specifies the encoding of the records in the streaming source. For example, UTF-8.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty>
- Returns:
- a new instance of
CfnApplicationReferenceDataSourceV2.ReferenceSchemaProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-