@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Input extends Object implements Serializable, Cloneable, StructuredPojo
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.
|
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 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 |
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 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 |
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 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".
Amazon 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". Amazon 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".
Amazon 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".
Amazon 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". Amazon 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 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 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.
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.
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.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
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.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
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.
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.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
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.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
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.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
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.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
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.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.