public static interface ReferenceDataSourceDescription.Builder extends CopyableBuilder<ReferenceDataSourceDescription.Builder,ReferenceDataSourceDescription>
Modifier and Type | Method and Description |
---|---|
ReferenceDataSourceDescription.Builder |
referenceId(String referenceId)
ID of the reference data source.
|
default ReferenceDataSourceDescription.Builder |
referenceSchema(Consumer<SourceSchema.Builder> referenceSchema)
Sets the value of the ReferenceSchema property for this object.
|
ReferenceDataSourceDescription.Builder |
referenceSchema(SourceSchema referenceSchema)
Sets the value of the ReferenceSchema property for this object.
|
default ReferenceDataSourceDescription.Builder |
s3ReferenceDataSourceDescription(Consumer<S3ReferenceDataSourceDescription.Builder> s3ReferenceDataSourceDescription)
Provides the S3 bucket name, the object key name that contains the reference data.
|
ReferenceDataSourceDescription.Builder |
s3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription s3ReferenceDataSourceDescription)
Provides the S3 bucket name, the object key name that contains the reference data.
|
ReferenceDataSourceDescription.Builder |
tableName(String tableName)
The in-application table name created by the specific reference data source configuration.
|
copy
apply, build
ReferenceDataSourceDescription.Builder referenceId(String 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.
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.ReferenceDataSourceDescription.Builder tableName(String tableName)
The in-application table name created by the specific reference data source configuration.
tableName
- The in-application table name created by the specific reference data source configuration.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.
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.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 that creates an instance of theS3ReferenceDataSourceDescription.Builder
avoiding the need to create one manually via S3ReferenceDataSourceDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
s3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription)
.s3ReferenceDataSourceDescription
- a consumer that will call methods on S3ReferenceDataSourceDescription.Builder
s3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription)
ReferenceDataSourceDescription.Builder referenceSchema(SourceSchema referenceSchema)
referenceSchema
- The new value for the ReferenceSchema property for this object.default ReferenceDataSourceDescription.Builder referenceSchema(Consumer<SourceSchema.Builder> referenceSchema)
SourceSchema.Builder
avoiding the need to
create one manually via SourceSchema.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to referenceSchema(SourceSchema)
.referenceSchema
- a consumer that will call methods on SourceSchema.Builder
referenceSchema(SourceSchema)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.