Class CfnApplicationPropsMixin.InputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisanalytics.CfnApplicationPropsMixin.InputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.InputProperty>
- Enclosing interface:
CfnApplicationPropsMixin.InputProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.InputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.InputProperty>
A builder for
CfnApplicationPropsMixin.InputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputParallelism(CfnApplicationPropsMixin.InputParallelismProperty inputParallelism) Sets the value ofCfnApplicationPropsMixin.InputProperty.getInputParallelism()inputParallelism(IResolvable inputParallelism) Sets the value ofCfnApplicationPropsMixin.InputProperty.getInputParallelism()inputProcessingConfiguration(CfnApplicationPropsMixin.InputProcessingConfigurationProperty inputProcessingConfiguration) Sets the value ofCfnApplicationPropsMixin.InputProperty.getInputProcessingConfiguration()inputProcessingConfiguration(IResolvable inputProcessingConfiguration) Sets the value ofCfnApplicationPropsMixin.InputProperty.getInputProcessingConfiguration()inputSchema(CfnApplicationPropsMixin.InputSchemaProperty inputSchema) Sets the value ofCfnApplicationPropsMixin.InputProperty.getInputSchema()inputSchema(IResolvable inputSchema) Sets the value ofCfnApplicationPropsMixin.InputProperty.getInputSchema()kinesisFirehoseInput(CfnApplicationPropsMixin.KinesisFirehoseInputProperty kinesisFirehoseInput) Sets the value ofCfnApplicationPropsMixin.InputProperty.getKinesisFirehoseInput()kinesisFirehoseInput(IResolvable kinesisFirehoseInput) Sets the value ofCfnApplicationPropsMixin.InputProperty.getKinesisFirehoseInput()kinesisStreamsInput(CfnApplicationPropsMixin.KinesisStreamsInputProperty kinesisStreamsInput) Sets the value ofCfnApplicationPropsMixin.InputProperty.getKinesisStreamsInput()kinesisStreamsInput(IResolvable kinesisStreamsInput) Sets the value ofCfnApplicationPropsMixin.InputProperty.getKinesisStreamsInput()namePrefix(String namePrefix) Sets the value ofCfnApplicationPropsMixin.InputProperty.getNamePrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputParallelism
@Stability(Stable) public CfnApplicationPropsMixin.InputProperty.Builder inputParallelism(IResolvable inputParallelism) Sets the value ofCfnApplicationPropsMixin.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 CfnApplicationPropsMixin.InputProperty.Builder inputParallelism(CfnApplicationPropsMixin.InputParallelismProperty inputParallelism) Sets the value ofCfnApplicationPropsMixin.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 CfnApplicationPropsMixin.InputProperty.Builder inputProcessingConfiguration(IResolvable inputProcessingConfiguration) Sets the value ofCfnApplicationPropsMixin.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 CfnApplicationPropsMixin.InputProperty.Builder inputProcessingConfiguration(CfnApplicationPropsMixin.InputProcessingConfigurationProperty inputProcessingConfiguration) Sets the value ofCfnApplicationPropsMixin.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
-
inputSchema
@Stability(Stable) public CfnApplicationPropsMixin.InputProperty.Builder inputSchema(IResolvable inputSchema) Sets the value ofCfnApplicationPropsMixin.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. Also used to describe the format of the reference data source.- Returns:
this
-
inputSchema
@Stability(Stable) public CfnApplicationPropsMixin.InputProperty.Builder inputSchema(CfnApplicationPropsMixin.InputSchemaProperty inputSchema) Sets the value ofCfnApplicationPropsMixin.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. Also used to describe the format of the reference data source.- Returns:
this
-
kinesisFirehoseInput
@Stability(Stable) public CfnApplicationPropsMixin.InputProperty.Builder kinesisFirehoseInput(IResolvable kinesisFirehoseInput) Sets the value ofCfnApplicationPropsMixin.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: EitherKinesisStreamsInputorKinesisFirehoseInputis required.- Returns:
this
-
kinesisFirehoseInput
@Stability(Stable) public CfnApplicationPropsMixin.InputProperty.Builder kinesisFirehoseInput(CfnApplicationPropsMixin.KinesisFirehoseInputProperty kinesisFirehoseInput) Sets the value ofCfnApplicationPropsMixin.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: EitherKinesisStreamsInputorKinesisFirehoseInputis required.- Returns:
this
-
kinesisStreamsInput
@Stability(Stable) public CfnApplicationPropsMixin.InputProperty.Builder kinesisStreamsInput(IResolvable kinesisStreamsInput) Sets the value ofCfnApplicationPropsMixin.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: EitherKinesisStreamsInputorKinesisFirehoseInputis required.- Returns:
this
-
kinesisStreamsInput
@Stability(Stable) public CfnApplicationPropsMixin.InputProperty.Builder kinesisStreamsInput(CfnApplicationPropsMixin.KinesisStreamsInputProperty kinesisStreamsInput) Sets the value ofCfnApplicationPropsMixin.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: EitherKinesisStreamsInputorKinesisFirehoseInputis required.- Returns:
this
-
namePrefix
@Stability(Stable) public CfnApplicationPropsMixin.InputProperty.Builder namePrefix(String namePrefix) Sets the value ofCfnApplicationPropsMixin.InputProperty.getNamePrefix()- 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.InputProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.InputProperty - Throws:
NullPointerException- if any required attribute was not provided
-