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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MappingParameters.BuildercsvMappingParameters(Consumer<CSVMappingParameters.Builder> csvMappingParameters)Provides additional mapping information when the record format uses delimiters (for example, CSV).MappingParameters.BuildercsvMappingParameters(CSVMappingParameters csvMappingParameters)Provides additional mapping information when the record format uses delimiters (for example, CSV).default MappingParameters.BuilderjsonMappingParameters(Consumer<JSONMappingParameters.Builder> jsonMappingParameters)Provides additional mapping information when JSON is the record format on the streaming source.MappingParameters.BuilderjsonMappingParameters(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 Detail
-
jsonMappingParameters
MappingParameters.Builder jsonMappingParameters(JSONMappingParameters 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.Builderavoiding the need to create one manually viaJSONMappingParameters.builder().When the
Consumercompletes,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:
jsonMappingParameters(JSONMappingParameters)
-
csvMappingParameters
MappingParameters.Builder csvMappingParameters(CSVMappingParameters 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.Builderavoiding the need to create one manually viaCSVMappingParameters.builder().When the
Consumercompletes,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:
csvMappingParameters(CSVMappingParameters)
-
-