Class ReferenceDataSource
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisanalytics.model.ReferenceDataSource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReferenceDataSource.Builder,ReferenceDataSource>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReferenceDataSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferenceDataSource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SourceSchemareferenceSchema()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.S3ReferenceDataSources3ReferenceDataSource()Identifies the S3 bucket and object that contains the reference data.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReferenceDataSource.Builder>serializableBuilderClass()StringtableName()Name of the in-application table to create.ReferenceDataSource.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
tableName
public final String tableName()
Name of the in-application table to create.
- Returns:
- Name of the in-application table to create.
-
s3ReferenceDataSource
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
UpdateApplicationoperation to trigger reloading of data into your application.- Returns:
- 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
UpdateApplicationoperation to trigger reloading of data into your application.
-
referenceSchema
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.
- Returns:
- 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.
-
toBuilder
public ReferenceDataSource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReferenceDataSource.Builder,ReferenceDataSource>
-
builder
public static ReferenceDataSource.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReferenceDataSource.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-