Interface Input.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Input.Builder,,Input> SdkBuilder<Input.Builder,,Input> SdkPojo
- Enclosing class:
Input
-
Method Summary
Modifier and TypeMethodDescriptiondefault Input.BuilderinputParallelism(Consumer<InputParallelism.Builder> inputParallelism) Describes the number of in-application streams to create.inputParallelism(InputParallelism inputParallelism) Describes the number of in-application streams to create.default Input.BuilderinputProcessingConfiguration(Consumer<InputProcessingConfiguration.Builder> inputProcessingConfiguration) The InputProcessingConfiguration for the input.inputProcessingConfiguration(InputProcessingConfiguration inputProcessingConfiguration) The InputProcessingConfiguration for the input.default Input.BuilderinputSchema(Consumer<SourceSchema.Builder> inputSchema) Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.inputSchema(SourceSchema inputSchema) Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.default Input.BuilderkinesisFirehoseInput(Consumer<KinesisFirehoseInput.Builder> kinesisFirehoseInput) If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.kinesisFirehoseInput(KinesisFirehoseInput kinesisFirehoseInput) If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.default Input.BuilderkinesisStreamsInput(Consumer<KinesisStreamsInput.Builder> kinesisStreamsInput) If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.kinesisStreamsInput(KinesisStreamsInput kinesisStreamsInput) If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.namePrefix(String namePrefix) Name prefix to use when creating an in-application stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
namePrefix
Name prefix to use when creating an in-application stream. Suppose that you specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates one or more (as per the
InputParallelismcount you specified) in-application streams with names "MyInApplicationStream_001," "MyInApplicationStream_002," and so on.- Parameters:
namePrefix- Name prefix to use when creating an in-application stream. Suppose that you specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates one or more (as per theInputParallelismcount you specified) in-application streams with names "MyInApplicationStream_001," "MyInApplicationStream_002," and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputProcessingConfiguration
Input.Builder inputProcessingConfiguration(InputProcessingConfiguration inputProcessingConfiguration) The InputProcessingConfiguration for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is InputLambdaProcessor.
- Parameters:
inputProcessingConfiguration- The InputProcessingConfiguration for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is InputLambdaProcessor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputProcessingConfiguration
default Input.Builder inputProcessingConfiguration(Consumer<InputProcessingConfiguration.Builder> inputProcessingConfiguration) The InputProcessingConfiguration for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is InputLambdaProcessor.
This is a convenience method that creates an instance of theInputProcessingConfiguration.Builderavoiding the need to create one manually viaInputProcessingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputProcessingConfiguration(InputProcessingConfiguration).- Parameters:
inputProcessingConfiguration- a consumer that will call methods onInputProcessingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kinesisStreamsInput
If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
Note: Either
KinesisStreamsInputorKinesisFirehoseInputis required.- Parameters:
kinesisStreamsInput- If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.Note: Either
KinesisStreamsInputorKinesisFirehoseInputis required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisStreamsInput
default Input.Builder kinesisStreamsInput(Consumer<KinesisStreamsInput.Builder> kinesisStreamsInput) If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
Note: Either
This is a convenience method that creates an instance of theKinesisStreamsInputorKinesisFirehoseInputis required.KinesisStreamsInput.Builderavoiding the need to create one manually viaKinesisStreamsInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokinesisStreamsInput(KinesisStreamsInput).- Parameters:
kinesisStreamsInput- a consumer that will call methods onKinesisStreamsInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kinesisFirehoseInput
If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
Note: Either
KinesisStreamsInputorKinesisFirehoseInputis required.- Parameters:
kinesisFirehoseInput- If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.Note: Either
KinesisStreamsInputorKinesisFirehoseInputis required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisFirehoseInput
default Input.Builder kinesisFirehoseInput(Consumer<KinesisFirehoseInput.Builder> kinesisFirehoseInput) If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
Note: Either
This is a convenience method that creates an instance of theKinesisStreamsInputorKinesisFirehoseInputis required.KinesisFirehoseInput.Builderavoiding the need to create one manually viaKinesisFirehoseInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokinesisFirehoseInput(KinesisFirehoseInput).- Parameters:
kinesisFirehoseInput- a consumer that will call methods onKinesisFirehoseInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputParallelism
Describes the number of in-application streams to create.
Data from your source is routed to these in-application input streams.
- Parameters:
inputParallelism- Describes the number of in-application streams to create.Data from your source is routed to these in-application input streams.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputParallelism
Describes the number of in-application streams to create.
Data from your source is routed to these in-application input streams.
(see Configuring Application Input.
This is a convenience method that creates an instance of theInputParallelism.Builderavoiding the need to create one manually viaInputParallelism.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputParallelism(InputParallelism).- Parameters:
inputParallelism- a consumer that will call methods onInputParallelism.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputSchema
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.
Also used to describe the format of the reference data source.
- Parameters:
inputSchema- Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.Also used to describe the format of the reference data source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSchema
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.
Also used to describe the format of the reference data source.
This is a convenience method that creates an instance of theSourceSchema.Builderavoiding the need to create one manually viaSourceSchema.builder().When the
Consumercompletes,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:
-