Class CfnApplicationV2.InputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.InputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.InputProperty>
- Enclosing interface:
CfnApplicationV2.InputProperty
@Stability(Stable)
public static final class CfnApplicationV2.InputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.InputProperty>
A builder for
CfnApplicationV2.InputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.inputParallelism
(IResolvable inputParallelism) Sets the value ofCfnApplicationV2.InputProperty.getInputParallelism()
inputParallelism
(CfnApplicationV2.InputParallelismProperty inputParallelism) Sets the value ofCfnApplicationV2.InputProperty.getInputParallelism()
inputProcessingConfiguration
(IResolvable inputProcessingConfiguration) Sets the value ofCfnApplicationV2.InputProperty.getInputProcessingConfiguration()
inputProcessingConfiguration
(CfnApplicationV2.InputProcessingConfigurationProperty inputProcessingConfiguration) Sets the value ofCfnApplicationV2.InputProperty.getInputProcessingConfiguration()
inputSchema
(IResolvable inputSchema) Sets the value ofCfnApplicationV2.InputProperty.getInputSchema()
inputSchema
(CfnApplicationV2.InputSchemaProperty inputSchema) Sets the value ofCfnApplicationV2.InputProperty.getInputSchema()
kinesisFirehoseInput
(IResolvable kinesisFirehoseInput) Sets the value ofCfnApplicationV2.InputProperty.getKinesisFirehoseInput()
kinesisFirehoseInput
(CfnApplicationV2.KinesisFirehoseInputProperty kinesisFirehoseInput) Sets the value ofCfnApplicationV2.InputProperty.getKinesisFirehoseInput()
kinesisStreamsInput
(IResolvable kinesisStreamsInput) Sets the value ofCfnApplicationV2.InputProperty.getKinesisStreamsInput()
kinesisStreamsInput
(CfnApplicationV2.KinesisStreamsInputProperty kinesisStreamsInput) Sets the value ofCfnApplicationV2.InputProperty.getKinesisStreamsInput()
namePrefix
(String namePrefix) Sets the value ofCfnApplicationV2.InputProperty.getNamePrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputSchema
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder inputSchema(IResolvable inputSchema) Sets the value ofCfnApplicationV2.InputProperty.getInputSchema()
- 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. This parameter is required. Also used to describe the format of the reference data source.- Returns:
this
-
inputSchema
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder inputSchema(CfnApplicationV2.InputSchemaProperty inputSchema) Sets the value ofCfnApplicationV2.InputProperty.getInputSchema()
- 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. This parameter is required. Also used to describe the format of the reference data source.- Returns:
this
-
namePrefix
Sets the value ofCfnApplicationV2.InputProperty.getNamePrefix()
- Parameters:
namePrefix
- The name prefix to use when creating an in-application stream. This parameter is required. Suppose that you specify a prefix "MyInApplicationStream
." Kinesis Data Analytics then creates one or more (as per theInputParallelism
count you specified) in-application streams with the names "MyInApplicationStream_001
," "MyInApplicationStream_002
," and so on.- Returns:
this
-
inputParallelism
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder inputParallelism(IResolvable inputParallelism) Sets the value ofCfnApplicationV2.InputProperty.getInputParallelism()
- Parameters:
inputParallelism
- Describes the number of in-application streams to create.- Returns:
this
-
inputParallelism
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder inputParallelism(CfnApplicationV2.InputParallelismProperty inputParallelism) Sets the value ofCfnApplicationV2.InputProperty.getInputParallelism()
- Parameters:
inputParallelism
- Describes the number of in-application streams to create.- Returns:
this
-
inputProcessingConfiguration
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder inputProcessingConfiguration(IResolvable inputProcessingConfiguration) Sets the value ofCfnApplicationV2.InputProperty.getInputProcessingConfiguration()
- 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:
this
-
inputProcessingConfiguration
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder inputProcessingConfiguration(CfnApplicationV2.InputProcessingConfigurationProperty inputProcessingConfiguration) Sets the value ofCfnApplicationV2.InputProperty.getInputProcessingConfiguration()
- 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:
this
-
kinesisFirehoseInput
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder kinesisFirehoseInput(IResolvable kinesisFirehoseInput) Sets the value ofCfnApplicationV2.InputProperty.getKinesisFirehoseInput()
- Parameters:
kinesisFirehoseInput
- If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.- Returns:
this
-
kinesisFirehoseInput
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder kinesisFirehoseInput(CfnApplicationV2.KinesisFirehoseInputProperty kinesisFirehoseInput) Sets the value ofCfnApplicationV2.InputProperty.getKinesisFirehoseInput()
- Parameters:
kinesisFirehoseInput
- If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.- Returns:
this
-
kinesisStreamsInput
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder kinesisStreamsInput(IResolvable kinesisStreamsInput) Sets the value ofCfnApplicationV2.InputProperty.getKinesisStreamsInput()
- Parameters:
kinesisStreamsInput
- If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).- Returns:
this
-
kinesisStreamsInput
@Stability(Stable) public CfnApplicationV2.InputProperty.Builder kinesisStreamsInput(CfnApplicationV2.KinesisStreamsInputProperty kinesisStreamsInput) Sets the value ofCfnApplicationV2.InputProperty.getKinesisStreamsInput()
- Parameters:
kinesisStreamsInput
- If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationV2.InputProperty>
- Returns:
- a new instance of
CfnApplicationV2.InputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-