@Generated(value="software.amazon.awssdk:codegen") public final class ReferenceDataSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReferenceDataSource.Builder,ReferenceDataSource>
Describes the reference data source by providing the source information (S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.
Modifier and Type | Class and Description |
---|---|
static interface |
ReferenceDataSource.Builder |
Modifier and Type | Method and Description |
---|---|
static ReferenceDataSource.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SourceSchema |
referenceSchema()
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns
created in the in-application stream.
|
S3ReferenceDataSource |
s3ReferenceDataSource()
Identifies the S3 bucket and object that contains the reference data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReferenceDataSource.Builder> |
serializableBuilderClass() |
String |
tableName()
Name of the in-application table to create.
|
ReferenceDataSource.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 tableName()
Name of the in-application table to create.
public S3ReferenceDataSource s3ReferenceDataSource()
Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf. An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
public SourceSchema referenceSchema()
Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.
public ReferenceDataSource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReferenceDataSource.Builder,ReferenceDataSource>
public static ReferenceDataSource.Builder builder()
public static Class<? extends ReferenceDataSource.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.