public static final class CfnApplication.InputProperty.Builder
extends java.lang.Object
CfnApplication.InputProperty
Constructor and Description |
---|
Builder() |
public CfnApplication.InputProperty.Builder inputSchema(IResolvable inputSchema)
CfnApplication.InputProperty.getInputSchema()
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.this
public CfnApplication.InputProperty.Builder inputSchema(CfnApplication.InputSchemaProperty inputSchema)
CfnApplication.InputProperty.getInputSchema()
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.this
public CfnApplication.InputProperty.Builder namePrefix(java.lang.String namePrefix)
CfnApplication.InputProperty.getNamePrefix()
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 the InputParallelism
count you specified) in-application streams with names "MyInApplicationStream_001," "MyInApplicationStream_002," and so on.this
public CfnApplication.InputProperty.Builder inputParallelism(IResolvable inputParallelism)
CfnApplication.InputProperty.getInputParallelism()
inputParallelism
- Describes the number of in-application streams to create.
Data from your source is routed to these in-application input streams.
this
public CfnApplication.InputProperty.Builder inputParallelism(CfnApplication.InputParallelismProperty inputParallelism)
CfnApplication.InputProperty.getInputParallelism()
inputParallelism
- Describes the number of in-application streams to create.
Data from your source is routed to these in-application input streams.
this
public CfnApplication.InputProperty.Builder inputProcessingConfiguration(IResolvable inputProcessingConfiguration)
CfnApplication.InputProperty.getInputProcessingConfiguration()
inputProcessingConfiguration
- The [InputProcessingConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputprocessingconfiguration.html) 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputlambdaprocessor.html) .this
public CfnApplication.InputProperty.Builder inputProcessingConfiguration(CfnApplication.InputProcessingConfigurationProperty inputProcessingConfiguration)
CfnApplication.InputProperty.getInputProcessingConfiguration()
inputProcessingConfiguration
- The [InputProcessingConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputprocessingconfiguration.html) 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalytics-application-inputlambdaprocessor.html) .this
public CfnApplication.InputProperty.Builder kinesisFirehoseInput(IResolvable kinesisFirehoseInput)
CfnApplication.InputProperty.getKinesisFirehoseInput()
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 KinesisStreamsInput
or KinesisFirehoseInput
is required.this
public CfnApplication.InputProperty.Builder kinesisFirehoseInput(CfnApplication.KinesisFirehoseInputProperty kinesisFirehoseInput)
CfnApplication.InputProperty.getKinesisFirehoseInput()
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 KinesisStreamsInput
or KinesisFirehoseInput
is required.this
public CfnApplication.InputProperty.Builder kinesisStreamsInput(IResolvable kinesisStreamsInput)
CfnApplication.InputProperty.getKinesisStreamsInput()
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 KinesisStreamsInput
or KinesisFirehoseInput
is required.this
public CfnApplication.InputProperty.Builder kinesisStreamsInput(CfnApplication.KinesisStreamsInputProperty kinesisStreamsInput)
CfnApplication.InputProperty.getKinesisStreamsInput()
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 KinesisStreamsInput
or KinesisFirehoseInput
is required.this
public CfnApplication.InputProperty build()
CfnApplication.InputProperty
java.lang.NullPointerException
- if any required attribute was not provided