Package com.pulumi.aws.kendra
Class DataSourceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.kendra.DataSourceArgs.Builder
-
- Enclosing class:
- DataSourceArgs
public static final class DataSourceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DataSourceArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourceArgs
build()
DataSourceArgs.Builder
configuration(DataSourceConfigurationArgs configuration)
DataSourceArgs.Builder
configuration(com.pulumi.core.Output<DataSourceConfigurationArgs> configuration)
DataSourceArgs.Builder
customDocumentEnrichmentConfiguration(DataSourceCustomDocumentEnrichmentConfigurationArgs customDocumentEnrichmentConfiguration)
DataSourceArgs.Builder
customDocumentEnrichmentConfiguration(com.pulumi.core.Output<DataSourceCustomDocumentEnrichmentConfigurationArgs> customDocumentEnrichmentConfiguration)
DataSourceArgs.Builder
description(com.pulumi.core.Output<java.lang.String> description)
DataSourceArgs.Builder
description(java.lang.String description)
DataSourceArgs.Builder
indexId(com.pulumi.core.Output<java.lang.String> indexId)
DataSourceArgs.Builder
indexId(java.lang.String indexId)
DataSourceArgs.Builder
languageCode(com.pulumi.core.Output<java.lang.String> languageCode)
DataSourceArgs.Builder
languageCode(java.lang.String languageCode)
DataSourceArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
DataSourceArgs.Builder
name(java.lang.String name)
DataSourceArgs.Builder
roleArn(com.pulumi.core.Output<java.lang.String> roleArn)
DataSourceArgs.Builder
roleArn(java.lang.String roleArn)
DataSourceArgs.Builder
schedule(com.pulumi.core.Output<java.lang.String> schedule)
DataSourceArgs.Builder
schedule(java.lang.String schedule)
DataSourceArgs.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
DataSourceArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
DataSourceArgs.Builder
type(com.pulumi.core.Output<java.lang.String> type)
DataSourceArgs.Builder
type(java.lang.String type)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DataSourceArgs defaults)
-
-
Method Detail
-
configuration
public DataSourceArgs.Builder configuration(@Nullable com.pulumi.core.Output<DataSourceConfigurationArgs> configuration)
- Parameters:
configuration
- A block with the configuration information to connect to your Data Source repository. You can't specify the `configuration` block when the `type` parameter is set to `CUSTOM`. Detailed below.- Returns:
- builder
-
configuration
public DataSourceArgs.Builder configuration(DataSourceConfigurationArgs configuration)
- Parameters:
configuration
- A block with the configuration information to connect to your Data Source repository. You can't specify the `configuration` block when the `type` parameter is set to `CUSTOM`. Detailed below.- Returns:
- builder
-
customDocumentEnrichmentConfiguration
public DataSourceArgs.Builder customDocumentEnrichmentConfiguration(@Nullable com.pulumi.core.Output<DataSourceCustomDocumentEnrichmentConfigurationArgs> customDocumentEnrichmentConfiguration)
- Parameters:
customDocumentEnrichmentConfiguration
- A block with the 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](https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html). Detailed below.- Returns:
- builder
-
customDocumentEnrichmentConfiguration
public DataSourceArgs.Builder customDocumentEnrichmentConfiguration(DataSourceCustomDocumentEnrichmentConfigurationArgs customDocumentEnrichmentConfiguration)
- Parameters:
customDocumentEnrichmentConfiguration
- A block with the 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](https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html). Detailed below.- Returns:
- builder
-
description
public DataSourceArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- A description for the Data Source connector.- Returns:
- builder
-
description
public DataSourceArgs.Builder description(java.lang.String description)
- Parameters:
description
- A description for the Data Source connector.- Returns:
- builder
-
indexId
public DataSourceArgs.Builder indexId(com.pulumi.core.Output<java.lang.String> indexId)
- Parameters:
indexId
- The identifier of the index for your Amazon Kendra data source.- Returns:
- builder
-
indexId
public DataSourceArgs.Builder indexId(java.lang.String indexId)
- Parameters:
indexId
- The identifier of the index for your Amazon Kendra data source.- Returns:
- builder
-
languageCode
public DataSourceArgs.Builder languageCode(@Nullable com.pulumi.core.Output<java.lang.String> languageCode)
- Parameters:
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](https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html).- Returns:
- builder
-
languageCode
public DataSourceArgs.Builder languageCode(java.lang.String languageCode)
- Parameters:
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](https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html).- Returns:
- builder
-
name
public DataSourceArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- A name for your data source connector.- Returns:
- builder
-
name
public DataSourceArgs.Builder name(java.lang.String name)
- Parameters:
name
- A name for your data source connector.- Returns:
- builder
-
roleArn
public DataSourceArgs.Builder roleArn(@Nullable com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the data source connector. For more information, see [IAM roles for Amazon Kendra](https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html). You can't specify the `role_arn` parameter when the `type` parameter is set to `CUSTOM`. The `role_arn` parameter is required for all other data sources.- Returns:
- builder
-
roleArn
public DataSourceArgs.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the data source connector. For more information, see [IAM roles for Amazon Kendra](https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html). You can't specify the `role_arn` parameter when the `type` parameter is set to `CUSTOM`. The `role_arn` parameter is required for all other data sources.- Returns:
- builder
-
schedule
public DataSourceArgs.Builder schedule(@Nullable com.pulumi.core.Output<java.lang.String> schedule)
- Parameters:
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.- Returns:
- builder
-
schedule
public DataSourceArgs.Builder schedule(java.lang.String schedule)
- Parameters:
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.- Returns:
- builder
-
tags
public DataSourceArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public DataSourceArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
type
public DataSourceArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type
- The type of data source repository. For an updated list of values, refer to [Valid Values for Type](https://docs.aws.amazon.com/kendra/latest/dg/API_CreateDataSource.html#Kendra-CreateDataSource-request-Type). The following arguments are optional:- Returns:
- builder
-
type
public DataSourceArgs.Builder type(java.lang.String type)
- Parameters:
type
- The type of data source repository. For an updated list of values, refer to [Valid Values for Type](https://docs.aws.amazon.com/kendra/latest/dg/API_CreateDataSource.html#Kendra-CreateDataSource-request-Type). The following arguments are optional:- Returns:
- builder
-
build
public DataSourceArgs build()
-
-