Interface RecordFormat.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecordFormat.Builder,
,RecordFormat> SdkBuilder<RecordFormat.Builder,
,RecordFormat> SdkPojo
- Enclosing class:
RecordFormat
public static interface RecordFormat.Builder
extends SdkPojo, CopyableBuilder<RecordFormat.Builder,RecordFormat>
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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.recordFormatType
(String recordFormatType) The type of record format.recordFormatType
(RecordFormatType recordFormatType) The type of record format.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
-
recordFormatType
The type of record format.
- Parameters:
recordFormatType
- The type of record format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordFormatType
The type of record format.
- Parameters:
recordFormatType
- The type of record format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mappingParameters
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 method that creates an instance of theMappingParameters.Builder
avoiding the need to create one manually viaMappingParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomappingParameters(MappingParameters)
.- Parameters:
mappingParameters
- a consumer that will call methods onMappingParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-