Interface MappingParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MappingParameters.Builder,
,MappingParameters> SdkBuilder<MappingParameters.Builder,
,MappingParameters> SdkPojo
- Enclosing class:
MappingParameters
public static interface MappingParameters.Builder
extends SdkPojo, CopyableBuilder<MappingParameters.Builder,MappingParameters>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MappingParameters.Builder
csvMappingParameters
(Consumer<CSVMappingParameters.Builder> csvMappingParameters) Provides additional mapping information when the record format uses delimiters (for example, CSV).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.jsonMappingParameters
(JSONMappingParameters jsonMappingParameters) Provides additional mapping information when JSON is the record format on the streaming source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jsonMappingParameters
Provides additional mapping information when JSON is the record format on the streaming source.
- Parameters:
jsonMappingParameters
- Provides additional mapping information when JSON is the record format on the streaming source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jsonMappingParameters
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 method that creates an instance of theJSONMappingParameters.Builder
avoiding the need to create one manually viaJSONMappingParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojsonMappingParameters(JSONMappingParameters)
.- Parameters:
jsonMappingParameters
- a consumer that will call methods onJSONMappingParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
csvMappingParameters
Provides additional mapping information when the record format uses delimiters (for example, CSV).
- Parameters:
csvMappingParameters
- Provides additional mapping information when the record format uses delimiters (for example, CSV).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
csvMappingParameters
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 method that creates an instance of theCSVMappingParameters.Builder
avoiding the need to create one manually viaCSVMappingParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocsvMappingParameters(CSVMappingParameters)
.- Parameters:
csvMappingParameters
- a consumer that will call methods onCSVMappingParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-