@Generated(value="software.amazon.awssdk:codegen") public class Input extends Object implements StructuredPojo, ToCopyableBuilder<Input.Builder,Input>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
Input.Builder |
Modifier and Type | Method and Description |
---|---|
static Input.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InputParallelism |
inputParallelism()
Describes the number of in-application streams to create.
|
InputProcessingConfiguration |
inputProcessingConfiguration()
The InputProcessingConfiguration for the Input.
|
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.
|
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.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
namePrefix()
Name prefix to use when creating in-application stream.
|
static Class<? extends Input.Builder> |
serializableBuilderClass() |
Input.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
InputParallelism
count you specified) in-application streams with names
"MyInApplicationStream_001", "MyInApplicationStream_002" and so on.public 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.
public 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.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
public 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.
Note: Either KinesisStreamsInput
or KinesisFirehoseInput
is required.
public InputParallelism inputParallelism()
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 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.
Also used to describe the format of the reference data source.
public Input.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Input.Builder,Input>
public static Input.Builder builder()
public static Class<? extends Input.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.