Interface ReferenceDataSourceDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReferenceDataSourceDescription.Builder,
,ReferenceDataSourceDescription> SdkBuilder<ReferenceDataSourceDescription.Builder,
,ReferenceDataSourceDescription> SdkPojo
- Enclosing class:
ReferenceDataSourceDescription
-
Method Summary
Modifier and TypeMethodDescriptionreferenceId
(String referenceId) ID of the reference data source.referenceSchema
(Consumer<SourceSchema.Builder> 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.referenceSchema
(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.s3ReferenceDataSourceDescription
(Consumer<S3ReferenceDataSourceDescription.Builder> s3ReferenceDataSourceDescription) Provides the S3 bucket name, the object key name that contains the reference data.s3ReferenceDataSourceDescription
(S3ReferenceDataSourceDescription s3ReferenceDataSourceDescription) Provides the S3 bucket name, the object key name that contains the reference data.The in-application table name created by the specific reference data source configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
referenceId
ID of the reference data source. This is the ID that Amazon Kinesis Analytics assigns when you add the reference data source to your application using the AddApplicationReferenceDataSource operation.
- Parameters:
referenceId
- ID of the reference data source. This is the ID that Amazon Kinesis Analytics assigns when you add the reference data source to your application using the AddApplicationReferenceDataSource operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The in-application table name created by the specific reference data source configuration.
- Parameters:
tableName
- The in-application table name created by the specific reference data source configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ReferenceDataSourceDescription
ReferenceDataSourceDescription.Builder s3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription s3ReferenceDataSourceDescription) Provides the S3 bucket name, the object key name that contains the reference data. It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application reference table.
- Parameters:
s3ReferenceDataSourceDescription
- Provides the S3 bucket name, the object key name that contains the reference data. It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application reference table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ReferenceDataSourceDescription
default ReferenceDataSourceDescription.Builder s3ReferenceDataSourceDescription(Consumer<S3ReferenceDataSourceDescription.Builder> s3ReferenceDataSourceDescription) Provides the S3 bucket name, the object key name that contains the reference data. It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application reference table.
This is a convenience method that creates an instance of theS3ReferenceDataSourceDescription.Builder
avoiding the need to create one manually viaS3ReferenceDataSourceDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription)
.- Parameters:
s3ReferenceDataSourceDescription
- a consumer that will call methods onS3ReferenceDataSourceDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
referenceSchema
default ReferenceDataSourceDescription.Builder referenceSchema(Consumer<SourceSchema.Builder> 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.
This is a convenience method that creates an instance of theSourceSchema.Builder
avoiding the need to create one manually viaSourceSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreferenceSchema(SourceSchema)
.- Parameters:
referenceSchema
- a consumer that will call methods onSourceSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-