Interface DiscoverInputSchemaResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DiscoverInputSchemaResponse.Builder,
,DiscoverInputSchemaResponse> KinesisAnalyticsV2Response.Builder
,SdkBuilder<DiscoverInputSchemaResponse.Builder,
,DiscoverInputSchemaResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DiscoverInputSchemaResponse
-
Method Summary
Modifier and TypeMethodDescriptioninputSchema
(Consumer<SourceSchema.Builder> inputSchema) The schema inferred from the streaming source.inputSchema
(SourceSchema inputSchema) The schema inferred from the streaming source.parsedInputRecords
(Collection<? extends Collection<String>> parsedInputRecords) An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).parsedInputRecords
(Collection<String>... parsedInputRecords) An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).processedInputRecords
(String... processedInputRecords) The stream data that was modified by the processor specified in theInputProcessingConfiguration
parameter.processedInputRecords
(Collection<String> processedInputRecords) The stream data that was modified by the processor specified in theInputProcessingConfiguration
parameter.rawInputRecords
(String... rawInputRecords) The raw stream data that was sampled to infer the schema.rawInputRecords
(Collection<String> rawInputRecords) The raw stream data that was sampled to infer the schema.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisanalyticsv2.model.KinesisAnalyticsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
inputSchema
The schema inferred from the streaming source. It identifies the format of the data in the streaming source and how each data element maps to corresponding columns in the in-application stream that you can create.
- Parameters:
inputSchema
- The schema inferred from the streaming source. It identifies the format of the data in the streaming source and how each data element maps to corresponding columns in the in-application stream that you can create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSchema
The schema inferred from the streaming source. It identifies the format of the data in the streaming source and how each data element maps to corresponding columns in the in-application stream that you can create.
This is a convenience method that creates an instance of theSourceSchema.Builder
avoiding the need to create one manually viaSourceSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputSchema(SourceSchema)
.- Parameters:
inputSchema
- a consumer that will call methods onSourceSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parsedInputRecords
DiscoverInputSchemaResponse.Builder parsedInputRecords(Collection<? extends Collection<String>> parsedInputRecords) An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).
- Parameters:
parsedInputRecords
- An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parsedInputRecords
An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).
- Parameters:
parsedInputRecords
- An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedInputRecords
The stream data that was modified by the processor specified in the
InputProcessingConfiguration
parameter.- Parameters:
processedInputRecords
- The stream data that was modified by the processor specified in theInputProcessingConfiguration
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processedInputRecords
The stream data that was modified by the processor specified in the
InputProcessingConfiguration
parameter.- Parameters:
processedInputRecords
- The stream data that was modified by the processor specified in theInputProcessingConfiguration
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rawInputRecords
The raw stream data that was sampled to infer the schema.
- Parameters:
rawInputRecords
- The raw stream data that was sampled to infer the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rawInputRecords
The raw stream data that was sampled to infer the schema.
- Parameters:
rawInputRecords
- The raw stream data that was sampled to infer the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-