public static interface DescribeDataSourceResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<DescribeDataSourceResponse.Builder,DescribeDataSourceResponse>
| Modifier and Type | Method and Description |
|---|---|
default DescribeDataSourceResponse.Builder |
configuration(Consumer<DataSourceConfiguration.Builder> configuration)
Information that describes where the data source is located and how the data source is configured.
|
DescribeDataSourceResponse.Builder |
configuration(DataSourceConfiguration configuration)
Information that describes where the data source is located and how the data source is configured.
|
DescribeDataSourceResponse.Builder |
createdAt(Instant createdAt)
The Unix timestamp of when the data source was created.
|
DescribeDataSourceResponse.Builder |
description(String description)
The description of the data source.
|
DescribeDataSourceResponse.Builder |
errorMessage(String errorMessage)
When the
Status field value is FAILED, the ErrorMessage field contains
a description of the error that caused the data source to fail. |
DescribeDataSourceResponse.Builder |
id(String id)
The identifier of the data source.
|
DescribeDataSourceResponse.Builder |
indexId(String indexId)
The identifier of the index that contains the data source.
|
DescribeDataSourceResponse.Builder |
name(String name)
The name that you gave the data source when it was created.
|
DescribeDataSourceResponse.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that enables the data source to access its resources.
|
DescribeDataSourceResponse.Builder |
schedule(String schedule)
The schedule that Amazon Kendra will update the data source.
|
DescribeDataSourceResponse.Builder |
status(DataSourceStatus status)
The current status of the data source.
|
DescribeDataSourceResponse.Builder |
status(String status)
The current status of the data source.
|
DescribeDataSourceResponse.Builder |
type(DataSourceType type)
The type of the data source.
|
DescribeDataSourceResponse.Builder |
type(String type)
The type of the data source.
|
DescribeDataSourceResponse.Builder |
updatedAt(Instant updatedAt)
The Unix timestamp of when the data source was last updated.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeDataSourceResponse.Builder id(String id)
The identifier of the data source.
id - The identifier of the data source.DescribeDataSourceResponse.Builder indexId(String indexId)
The identifier of the index that contains the data source.
indexId - The identifier of the index that contains the data source.DescribeDataSourceResponse.Builder name(String name)
The name that you gave the data source when it was created.
name - The name that you gave the data source when it was created.DescribeDataSourceResponse.Builder type(String type)
The type of the data source.
type - The type of the data source.DataSourceType,
DataSourceTypeDescribeDataSourceResponse.Builder type(DataSourceType type)
The type of the data source.
type - The type of the data source.DataSourceType,
DataSourceTypeDescribeDataSourceResponse.Builder configuration(DataSourceConfiguration configuration)
Information that describes where the data source is located and how the data source is configured. The specific information in the description depends on the data source provider.
configuration - Information that describes where the data source is located and how the data source is configured. The
specific information in the description depends on the data source provider.default DescribeDataSourceResponse.Builder configuration(Consumer<DataSourceConfiguration.Builder> configuration)
Information that describes where the data source is located and how the data source is configured. The specific information in the description depends on the data source provider.
This is a convenience that creates an instance of theDataSourceConfiguration.Builder avoiding the
need to create one manually via DataSourceConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to configuration(DataSourceConfiguration).configuration - a consumer that will call methods on DataSourceConfiguration.Builderconfiguration(DataSourceConfiguration)DescribeDataSourceResponse.Builder createdAt(Instant createdAt)
The Unix timestamp of when the data source was created.
createdAt - The Unix timestamp of when the data source was created.DescribeDataSourceResponse.Builder updatedAt(Instant updatedAt)
The Unix timestamp of when the data source was last updated.
updatedAt - The Unix timestamp of when the data source was last updated.DescribeDataSourceResponse.Builder description(String description)
The description of the data source.
description - The description of the data source.DescribeDataSourceResponse.Builder status(String status)
The current status of the data source. When the status is ACTIVE the data source is ready to
use. When the status is FAILED, the ErrorMessage field contains the reason that the
data source failed.
status - The current status of the data source. When the status is ACTIVE the data source is ready
to use. When the status is FAILED, the ErrorMessage field contains the
reason that the data source failed.DataSourceStatus,
DataSourceStatusDescribeDataSourceResponse.Builder status(DataSourceStatus status)
The current status of the data source. When the status is ACTIVE the data source is ready to
use. When the status is FAILED, the ErrorMessage field contains the reason that the
data source failed.
status - The current status of the data source. When the status is ACTIVE the data source is ready
to use. When the status is FAILED, the ErrorMessage field contains the
reason that the data source failed.DataSourceStatus,
DataSourceStatusDescribeDataSourceResponse.Builder schedule(String schedule)
The schedule that Amazon Kendra will update the data source.
schedule - The schedule that Amazon Kendra will update the data source.DescribeDataSourceResponse.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that enables the data source to access its resources.
roleArn - The Amazon Resource Name (ARN) of the role that enables the data source to access its resources.DescribeDataSourceResponse.Builder errorMessage(String errorMessage)
When the Status field value is FAILED, the ErrorMessage field contains
a description of the error that caused the data source to fail.
errorMessage - When the Status field value is FAILED, the ErrorMessage field
contains a description of the error that caused the data source to fail.Copyright © 2021. All rights reserved.