public static interface RecordFormat.Builder extends SdkPojo, CopyableBuilder<RecordFormat.Builder,RecordFormat>
Modifier and Type | Method and Description |
---|---|
default RecordFormat.Builder |
mappingParameters(Consumer<MappingParameters.Builder> mappingParameters)
When configuring application input at the time of creating or updating an application, provides additional
mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some
delimiter) on the streaming source.
|
RecordFormat.Builder |
mappingParameters(MappingParameters mappingParameters)
When configuring application input at the time of creating or updating an application, provides additional
mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some
delimiter) on the streaming source.
|
RecordFormat.Builder |
recordFormatType(RecordFormatType recordFormatType)
The type of record format.
|
RecordFormat.Builder |
recordFormatType(String recordFormatType)
The type of record format.
|
copy
applyMutation, build
RecordFormat.Builder recordFormatType(String recordFormatType)
The type of record format.
recordFormatType
- The type of record format.RecordFormatType
,
RecordFormatType
RecordFormat.Builder recordFormatType(RecordFormatType recordFormatType)
The type of record format.
recordFormatType
- The type of record format.RecordFormatType
,
RecordFormatType
RecordFormat.Builder mappingParameters(MappingParameters mappingParameters)
When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
mappingParameters
- When configuring application input at the time of creating or updating an application, provides
additional mapping information specific to the record format (such as JSON, CSV, or record fields
delimited by some delimiter) on the streaming source.default RecordFormat.Builder mappingParameters(Consumer<MappingParameters.Builder> mappingParameters)
When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
This is a convenience that creates an instance of theMappingParameters.Builder
avoiding the need to
create one manually via MappingParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to mappingParameters(MappingParameters)
.mappingParameters
- a consumer that will call methods on MappingParameters.Builder
mappingParameters(MappingParameters)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.