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