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)
Configuration details for the data source connector.
|
DescribeDataSourceResponse.Builder |
configuration(DataSourceConfiguration configuration)
Configuration details for the data source connector.
|
DescribeDataSourceResponse.Builder |
createdAt(Instant createdAt)
The Unix timestamp when the data source connector was created.
|
default DescribeDataSourceResponse.Builder |
customDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process
when you describe a data source.
|
DescribeDataSourceResponse.Builder |
customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process
when you describe a data source.
|
DescribeDataSourceResponse.Builder |
description(String description)
The description for the data source connector.
|
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 connector.
|
DescribeDataSourceResponse.Builder |
indexId(String indexId)
The identifier of the index used with the data source connector.
|
DescribeDataSourceResponse.Builder |
languageCode(String languageCode)
The code for a language.
|
DescribeDataSourceResponse.Builder |
name(String name)
The name for the data source connector.
|
DescribeDataSourceResponse.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
|
DescribeDataSourceResponse.Builder |
schedule(String schedule)
The schedule for Amazon Kendra to update the index.
|
DescribeDataSourceResponse.Builder |
status(DataSourceStatus status)
The current status of the data source connector.
|
DescribeDataSourceResponse.Builder |
status(String status)
The current status of the data source connector.
|
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 when the data source connector was last updated.
|
default DescribeDataSourceResponse.Builder |
vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source.
|
DescribeDataSourceResponse.Builder |
vpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeDataSourceResponse.Builder id(String id)
The identifier of the data source connector.
id - The identifier of the data source connector.DescribeDataSourceResponse.Builder indexId(String indexId)
The identifier of the index used with the data source connector.
indexId - The identifier of the index used with the data source connector.DescribeDataSourceResponse.Builder name(String name)
The name for the data source connector.
name - The name for the data source connector.DescribeDataSourceResponse.Builder type(String type)
The type of the data source. For example, SHAREPOINT.
type - The type of the data source. For example, SHAREPOINT.DataSourceType,
DataSourceTypeDescribeDataSourceResponse.Builder type(DataSourceType type)
The type of the data source. For example, SHAREPOINT.
type - The type of the data source. For example, SHAREPOINT.DataSourceType,
DataSourceTypeDescribeDataSourceResponse.Builder configuration(DataSourceConfiguration configuration)
Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.
configuration - Configuration details for the data source connector. This shows how the data source is configured. The
configuration options for a data source depend on the data source provider.default DescribeDataSourceResponse.Builder configuration(Consumer<DataSourceConfiguration.Builder> configuration)
Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.
This is a convenience method 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 vpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
vpcConfiguration - Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more
information, see Configuring a VPC.default DescribeDataSourceResponse.Builder vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
This is a convenience method that creates an instance of theDataSourceVpcConfiguration.Builder
avoiding the need to create one manually via DataSourceVpcConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to vpcConfiguration(DataSourceVpcConfiguration).
vpcConfiguration - a consumer that will call methods on DataSourceVpcConfiguration.BuildervpcConfiguration(DataSourceVpcConfiguration)DescribeDataSourceResponse.Builder createdAt(Instant createdAt)
The Unix timestamp when the data source connector was created.
createdAt - The Unix timestamp when the data source connector was created.DescribeDataSourceResponse.Builder updatedAt(Instant updatedAt)
The Unix timestamp when the data source connector was last updated.
updatedAt - The Unix timestamp when the data source connector was last updated.DescribeDataSourceResponse.Builder description(String description)
The description for the data source connector.
description - The description for the data source connector.DescribeDataSourceResponse.Builder status(String status)
The current status of the data source connector. 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 connector. 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 connector. 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 connector. 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 for Amazon Kendra to update the index.
schedule - The schedule for Amazon Kendra to update the index.DescribeDataSourceResponse.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
roleArn - The Amazon Resource Name (ARN) of the role with permission to access the data source and required
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.DescribeDataSourceResponse.Builder languageCode(String languageCode)
The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode - The code for a language. This shows a supported language for all documents in the data source. English
is supported by default. For more information on supported languages, including their codes, see Adding documents in
languages other than English.DescribeDataSourceResponse.Builder customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
customDocumentEnrichmentConfiguration - Configuration information for altering document metadata and content during the document ingestion
process when you describe a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
default DescribeDataSourceResponse.Builder customDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when you describe a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
This is a convenience method that creates an instance of theCustomDocumentEnrichmentConfiguration.Builder avoiding the need to create one manually via
CustomDocumentEnrichmentConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration).
customDocumentEnrichmentConfiguration - a consumer that will call methods on CustomDocumentEnrichmentConfiguration.BuildercustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration)Copyright © 2023. All rights reserved.