@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, 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) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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 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.
|
String |
namePrefix()
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()
Returns a string representation of this object.
|
copy
public final String namePrefix()
Name prefix to use when creating an in-application stream. Suppose that you specify a prefix
"MyInApplicationStream." Amazon Kinesis Analytics then creates 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 final 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 final 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 final KinesisFirehoseInput kinesisFirehoseInput()
If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the 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 final InputParallelism inputParallelism()
Describes the number of in-application streams to create.
Data from your source is routed to these in-application input streams.
Data from your source is routed to these in-application input streams.
public final 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 final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.