@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Input extends Object implements Serializable, Cloneable, StructuredPojo
When you configure the application input for a SQL-based Kinesis Data Analytics application, you specify the streaming source, the in-application stream name that is created, and the mapping between the two.
Constructor and Description |
---|
Input() |
Modifier and Type | Method and Description |
---|---|
Input |
clone() |
boolean |
equals(Object obj) |
InputParallelism |
getInputParallelism()
Describes the number of in-application streams to create.
|
InputProcessingConfiguration |
getInputProcessingConfiguration()
The InputProcessingConfiguration for the input.
|
SourceSchema |
getInputSchema()
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.
|
KinesisFirehoseInput |
getKinesisFirehoseInput()
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
|
KinesisStreamsInput |
getKinesisStreamsInput()
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
|
String |
getNamePrefix()
The name prefix to use when creating an in-application stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInputParallelism(InputParallelism inputParallelism)
Describes the number of in-application streams to create.
|
void |
setInputProcessingConfiguration(InputProcessingConfiguration inputProcessingConfiguration)
The InputProcessingConfiguration for the input.
|
void |
setInputSchema(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.
|
void |
setKinesisFirehoseInput(KinesisFirehoseInput kinesisFirehoseInput)
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
|
void |
setKinesisStreamsInput(KinesisStreamsInput kinesisStreamsInput)
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
|
void |
setNamePrefix(String namePrefix)
The name prefix to use when creating an in-application stream.
|
String |
toString()
Returns a string representation of this object.
|
Input |
withInputParallelism(InputParallelism inputParallelism)
Describes the number of in-application streams to create.
|
Input |
withInputProcessingConfiguration(InputProcessingConfiguration inputProcessingConfiguration)
The InputProcessingConfiguration for the input.
|
Input |
withInputSchema(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.
|
Input |
withKinesisFirehoseInput(KinesisFirehoseInput kinesisFirehoseInput)
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
|
Input |
withKinesisStreamsInput(KinesisStreamsInput kinesisStreamsInput)
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
|
Input |
withNamePrefix(String namePrefix)
The name prefix to use when creating an in-application stream.
|
public void setNamePrefix(String namePrefix)
The name prefix to use when creating an in-application stream. Suppose that you specify a prefix "
MyInApplicationStream
." Kinesis Data Analytics then creates one or more (as per the
InputParallelism
count you specified) in-application streams with the names "
MyInApplicationStream_001
," "MyInApplicationStream_002
," and so on.
namePrefix
- The name prefix to use when creating an in-application stream. Suppose that you specify a prefix "
MyInApplicationStream
." Kinesis Data Analytics then creates one or more (as per the
InputParallelism
count you specified) in-application streams with the names "
MyInApplicationStream_001
," "MyInApplicationStream_002
," and so on.public String getNamePrefix()
The name prefix to use when creating an in-application stream. Suppose that you specify a prefix "
MyInApplicationStream
." Kinesis Data Analytics then creates one or more (as per the
InputParallelism
count you specified) in-application streams with the names "
MyInApplicationStream_001
," "MyInApplicationStream_002
," and so on.
MyInApplicationStream
." Kinesis Data Analytics then creates one or more (as per the
InputParallelism
count you specified) in-application streams with the names "
MyInApplicationStream_001
," "MyInApplicationStream_002
," and so on.public Input withNamePrefix(String namePrefix)
The name prefix to use when creating an in-application stream. Suppose that you specify a prefix "
MyInApplicationStream
." Kinesis Data Analytics then creates one or more (as per the
InputParallelism
count you specified) in-application streams with the names "
MyInApplicationStream_001
," "MyInApplicationStream_002
," and so on.
namePrefix
- The name prefix to use when creating an in-application stream. Suppose that you specify a prefix "
MyInApplicationStream
." Kinesis Data Analytics then creates one or more (as per the
InputParallelism
count you specified) in-application streams with the names "
MyInApplicationStream_001
," "MyInApplicationStream_002
," and so on.public void setInputProcessingConfiguration(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.
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.public InputProcessingConfiguration getInputProcessingConfiguration()
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.
public Input withInputProcessingConfiguration(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.
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.public void setKinesisStreamsInput(KinesisStreamsInput kinesisStreamsInput)
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
kinesisStreamsInput
- If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name
(ARN).public KinesisStreamsInput getKinesisStreamsInput()
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
public Input withKinesisStreamsInput(KinesisStreamsInput kinesisStreamsInput)
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
kinesisStreamsInput
- If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name
(ARN).public void setKinesisFirehoseInput(KinesisFirehoseInput kinesisFirehoseInput)
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
kinesisFirehoseInput
- If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery
stream's ARN.public KinesisFirehoseInput getKinesisFirehoseInput()
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
public Input withKinesisFirehoseInput(KinesisFirehoseInput kinesisFirehoseInput)
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
kinesisFirehoseInput
- If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery
stream's ARN.public void setInputParallelism(InputParallelism inputParallelism)
Describes the number of in-application streams to create.
inputParallelism
- Describes the number of in-application streams to create.public InputParallelism getInputParallelism()
Describes the number of in-application streams to create.
public Input withInputParallelism(InputParallelism inputParallelism)
Describes the number of in-application streams to create.
inputParallelism
- Describes the number of in-application streams to create.public void setInputSchema(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.
Also used to describe the format of the reference data source.
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.
public SourceSchema getInputSchema()
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.
Also used to describe the format of the reference data source.
public Input withInputSchema(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.
Also used to describe the format of the reference data source.
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.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.