public static interface MappingParameters.Builder extends CopyableBuilder<MappingParameters.Builder,MappingParameters>
Modifier and Type | Method and Description |
---|---|
default MappingParameters.Builder |
csvMappingParameters(Consumer<CSVMappingParameters.Builder> csvMappingParameters)
Provides additional mapping information when the record format uses delimiters (for example, CSV).
|
MappingParameters.Builder |
csvMappingParameters(CSVMappingParameters csvMappingParameters)
Provides additional mapping information when the record format uses delimiters (for example, CSV).
|
default MappingParameters.Builder |
jsonMappingParameters(Consumer<JSONMappingParameters.Builder> jsonMappingParameters)
Provides additional mapping information when JSON is the record format on the streaming source.
|
MappingParameters.Builder |
jsonMappingParameters(JSONMappingParameters jsonMappingParameters)
Provides additional mapping information when JSON is the record format on the streaming source.
|
copy
applyMutation, build
MappingParameters.Builder jsonMappingParameters(JSONMappingParameters jsonMappingParameters)
Provides additional mapping information when JSON is the record format on the streaming source.
jsonMappingParameters
- Provides additional mapping information when JSON is the record format on the streaming source.default MappingParameters.Builder jsonMappingParameters(Consumer<JSONMappingParameters.Builder> jsonMappingParameters)
Provides additional mapping information when JSON is the record format on the streaming source.
This is a convenience that creates an instance of theJSONMappingParameters.Builder
avoiding the need
to create one manually via JSONMappingParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to jsonMappingParameters(JSONMappingParameters)
.jsonMappingParameters
- a consumer that will call methods on JSONMappingParameters.Builder
jsonMappingParameters(JSONMappingParameters)
MappingParameters.Builder csvMappingParameters(CSVMappingParameters csvMappingParameters)
Provides additional mapping information when the record format uses delimiters (for example, CSV).
csvMappingParameters
- Provides additional mapping information when the record format uses delimiters (for example, CSV).default MappingParameters.Builder csvMappingParameters(Consumer<CSVMappingParameters.Builder> csvMappingParameters)
Provides additional mapping information when the record format uses delimiters (for example, CSV).
This is a convenience that creates an instance of theCSVMappingParameters.Builder
avoiding the need
to create one manually via CSVMappingParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to csvMappingParameters(CSVMappingParameters)
.csvMappingParameters
- a consumer that will call methods on CSVMappingParameters.Builder
csvMappingParameters(CSVMappingParameters)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.