public class Input extends Object implements Serializable, Cloneable
When you configure the application input, you specify the streaming source, the in-application stream name that is created, and the mapping between the two. For more information, see Configuring Application Input.
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.
|
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 Firehose delivery stream, identifies the Firehose delivery stream's
ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
|
KinesisStreamsInput |
getKinesisStreamsInput()
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.
|
String |
getNamePrefix()
Name prefix to use when creating in-application stream.
|
int |
hashCode() |
void |
setInputParallelism(InputParallelism inputParallelism)
Describes the number of in-application streams to create.
|
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 Firehose delivery stream, identifies the Firehose delivery stream's
ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
|
void |
setKinesisStreamsInput(KinesisStreamsInput 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.
|
void |
setNamePrefix(String namePrefix)
Name prefix to use when creating in-application stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Input |
withInputParallelism(InputParallelism inputParallelism)
Describes the number of in-application streams to create.
|
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 Firehose delivery stream, identifies the Firehose delivery stream's
ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
|
Input |
withKinesisStreamsInput(KinesisStreamsInput 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.
|
Input |
withNamePrefix(String namePrefix)
Name prefix to use when creating in-application stream.
|
public void setNamePrefix(String namePrefix)
Name prefix to use when creating in-application stream. Suppose you specify a prefix "MyInApplicationStream".
Kinesis Analytics will then create one or more (as per the InputParallelism
count you specified)
in-application streams with names "MyInApplicationStream_001", "MyInApplicationStream_002" and so on.
namePrefix
- Name prefix to use when creating in-application stream. Suppose you specify a prefix
"MyInApplicationStream". Kinesis Analytics will then create one or more (as per the
InputParallelism
count you specified) in-application streams with names
"MyInApplicationStream_001", "MyInApplicationStream_002" and so on.public String getNamePrefix()
Name prefix to use when creating in-application stream. Suppose you specify a prefix "MyInApplicationStream".
Kinesis Analytics will then create one or more (as per the InputParallelism
count you specified)
in-application streams with names "MyInApplicationStream_001", "MyInApplicationStream_002" and so on.
InputParallelism
count you specified) in-application streams with names
"MyInApplicationStream_001", "MyInApplicationStream_002" and so on.public Input withNamePrefix(String namePrefix)
Name prefix to use when creating in-application stream. Suppose you specify a prefix "MyInApplicationStream".
Kinesis Analytics will then create one or more (as per the InputParallelism
count you specified)
in-application streams with names "MyInApplicationStream_001", "MyInApplicationStream_002" and so on.
namePrefix
- Name prefix to use when creating in-application stream. Suppose you specify a prefix
"MyInApplicationStream". Kinesis Analytics will then create one or more (as per the
InputParallelism
count you specified) in-application streams with names
"MyInApplicationStream_001", "MyInApplicationStream_002" and so on.public void setKinesisStreamsInput(KinesisStreamsInput 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.
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.public KinesisStreamsInput getKinesisStreamsInput()
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.
public Input withKinesisStreamsInput(KinesisStreamsInput 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.
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.public void setKinesisFirehoseInput(KinesisFirehoseInput kinesisFirehoseInput)
If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the Firehose delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
kinesisFirehoseInput
- If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the Firehose delivery
stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.public KinesisFirehoseInput getKinesisFirehoseInput()
If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the Firehose delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
public Input withKinesisFirehoseInput(KinesisFirehoseInput kinesisFirehoseInput)
If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the Firehose delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
kinesisFirehoseInput
- If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the Firehose delivery
stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.public void setInputParallelism(InputParallelism inputParallelism)
Describes the number of in-application streams to create.
Data from your source will be routed to these in-application input streams.
inputParallelism
- Describes the number of in-application streams to create.
Data from your source will be routed to these in-application input streams.
public InputParallelism getInputParallelism()
Describes the number of in-application streams to create.
Data from your source will be routed to these in-application input streams.
Data from your source will be routed to these in-application input streams.
public Input withInputParallelism(InputParallelism inputParallelism)
Describes the number of in-application streams to create.
Data from your source will be routed to these in-application input streams.
inputParallelism
- Describes the number of in-application streams to create.
Data from your source will be routed to these in-application input streams.
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.