public static interface CreateDataSourceRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<CreateDataSourceRequest.Builder,CreateDataSourceRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateDataSourceRequest.Builder |
clientToken(String clientToken)
A token that you provide to identify the request to create a data source connector.
|
default CreateDataSourceRequest.Builder |
configuration(Consumer<DataSourceConfiguration.Builder> configuration)
Configuration information to connect to your data source repository.
|
CreateDataSourceRequest.Builder |
configuration(DataSourceConfiguration configuration)
Configuration information to connect to your data source repository.
|
default CreateDataSourceRequest.Builder |
customDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process.
|
CreateDataSourceRequest.Builder |
customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process.
|
CreateDataSourceRequest.Builder |
description(String description)
A description for the data source connector.
|
CreateDataSourceRequest.Builder |
indexId(String indexId)
The identifier of the index you want to use with the data source connector.
|
CreateDataSourceRequest.Builder |
languageCode(String languageCode)
The code for a language.
|
CreateDataSourceRequest.Builder |
name(String name)
A name for the data source connector.
|
CreateDataSourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDataSourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateDataSourceRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required
resources.
|
CreateDataSourceRequest.Builder |
schedule(String schedule)
Sets the frequency for Amazon Kendra to check the documents in your data source repository and update the
index.
|
CreateDataSourceRequest.Builder |
tags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the data source connector.
|
CreateDataSourceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify or categorize the data source connector.
|
CreateDataSourceRequest.Builder |
tags(Tag... tags)
A list of key-value pairs that identify or categorize the data source connector.
|
CreateDataSourceRequest.Builder |
type(DataSourceType type)
The type of data source repository.
|
CreateDataSourceRequest.Builder |
type(String type)
The type of data source repository.
|
default CreateDataSourceRequest.Builder |
vpcConfiguration(Consumer<DataSourceVpcConfiguration.Builder> vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source.
|
CreateDataSourceRequest.Builder |
vpcConfiguration(DataSourceVpcConfiguration vpcConfiguration)
Configuration information for an Amazon Virtual Private Cloud to connect to your data source.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDataSourceRequest.Builder name(String name)
A name for the data source connector.
name - A name for the data source connector.CreateDataSourceRequest.Builder indexId(String indexId)
The identifier of the index you want to use with the data source connector.
indexId - The identifier of the index you want to use with the data source connector.CreateDataSourceRequest.Builder type(String type)
The type of data source repository. For example, SHAREPOINT.
type - The type of data source repository. For example, SHAREPOINT.DataSourceType,
DataSourceTypeCreateDataSourceRequest.Builder type(DataSourceType type)
The type of data source repository. For example, SHAREPOINT.
type - The type of data source repository. For example, SHAREPOINT.DataSourceType,
DataSourceTypeCreateDataSourceRequest.Builder configuration(DataSourceConfiguration configuration)
Configuration information to connect to your data source repository.
You can't specify the Configuration parameter when the Type parameter is set to
CUSTOM. If you do, you receive a ValidationException exception.
The Configuration parameter is required for all other data sources.
configuration - Configuration information to connect to your data source repository.
You can't specify the Configuration parameter when the Type parameter is set
to CUSTOM. If you do, you receive a ValidationException exception.
The Configuration parameter is required for all other data sources.
default CreateDataSourceRequest.Builder configuration(Consumer<DataSourceConfiguration.Builder> configuration)
Configuration information to connect to your data source repository.
You can't specify the Configuration parameter when the Type parameter is set to
CUSTOM. If you do, you receive a ValidationException exception.
The Configuration parameter is required for all other data sources.
DataSourceConfiguration.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)CreateDataSourceRequest.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 CreateDataSourceRequest.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)CreateDataSourceRequest.Builder description(String description)
A description for the data source connector.
description - A description for the data source connector.CreateDataSourceRequest.Builder schedule(String schedule)
Sets the frequency for Amazon Kendra to check the documents in your data source repository and update the
index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the
StartDataSourceSyncJob API to update the index.
Specify a cron- format schedule string or an empty string to indicate that the index is updated
on demand.
You can't specify the Schedule parameter when the Type parameter is set to
CUSTOM. If you do, you receive a ValidationException exception.
schedule - Sets the frequency for Amazon Kendra to check the documents in your data source repository and update
the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can
call the StartDataSourceSyncJob API to update the index.
Specify a cron- format schedule string or an empty string to indicate that the index is
updated on demand.
You can't specify the Schedule parameter when the Type parameter is set to
CUSTOM. If you do, you receive a ValidationException exception.
CreateDataSourceRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. For more information, see IAM access roles for Amazon Kendra..
You can't specify the RoleArn parameter when the Type parameter is set to
CUSTOM. If you do, you receive a ValidationException exception.
The RoleArn parameter is required for all other data sources.
roleArn - The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required
resources. For more information, see IAM access roles for Amazon
Kendra..
You can't specify the RoleArn parameter when the Type parameter is set to
CUSTOM. If you do, you receive a ValidationException exception.
The RoleArn parameter is required for all other data sources.
CreateDataSourceRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the data source connector. You can also use tags
to help control access to the data source connector. Tag keys and values can consist of Unicode
letters, digits, white space, and any of the following symbols: _ . : / = + - @.CreateDataSourceRequest.Builder tags(Tag... tags)
A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
tags - A list of key-value pairs that identify or categorize the data source connector. You can also use tags
to help control access to the data source connector. Tag keys and values can consist of Unicode
letters, digits, white space, and any of the following symbols: _ . : / = + - @.CreateDataSourceRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateDataSourceRequest.Builder clientToken(String clientToken)
A token that you provide to identify the request to create a data source connector. Multiple calls to the
CreateDataSource API with the same client token will create only one data source connector.
clientToken - A token that you provide to identify the request to create a data source connector. Multiple calls to
the CreateDataSource API with the same client token will create only one data source
connector.CreateDataSourceRequest.Builder languageCode(String languageCode)
The code for a language. This allows you to support a language for all documents when creating the data source connector. 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 allows you to support a language for all documents when creating the
data source connector. English is supported by default. For more information on supported languages,
including their codes, see Adding documents in
languages other than English.CreateDataSourceRequest.Builder customDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process.
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.
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 CreateDataSourceRequest.Builder customDocumentEnrichmentConfiguration(Consumer<CustomDocumentEnrichmentConfiguration.Builder> customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process.
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)CreateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.