@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) |
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() |
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()
Returns a string representation of this object.
|
copy
public final String tableName()
Name of the in-application table to create.
public final 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.
UpdateApplication
operation to trigger reloading of data into your application.public final 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()
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.