@Generated(value="software.amazon.awssdk:codegen") public final class Input extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Input.Builder,Input>
When you configure the application input for an SQL-based Amazon Kinesis Data Analytics application, you specify the streaming source, the in-application stream name that is created, and the mapping between the two.
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 Data Firehose delivery stream, identifies the delivery stream's ARN.
|
KinesisStreamsInput |
kinesisStreamsInput()
If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).
|
String |
namePrefix()
The name prefix to use when creating an in-application stream.
|
List<SdkField<?>> |
sdkFields() |
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()
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 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 data stream, identifies the stream's Amazon Resource Name (ARN).
public KinesisFirehoseInput kinesisFirehoseInput()
If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.
public InputParallelism inputParallelism()
Describes the number of in-application streams to create.
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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.