Class DataSourceState.Builder

  • Enclosing class:
    DataSourceState

    public static final class DataSourceState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public DataSourceState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Data Source.
        Returns:
        builder
      • arn

        public DataSourceState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the Data Source.
        Returns:
        builder
      • configuration

        public DataSourceState.Builder configuration​(@Nullable
                                                     com.pulumi.core.Output<DataSourceConfigurationArgs> configuration)
        Parameters:
        configuration - 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 DataSourceState.Builder configuration​(DataSourceConfigurationArgs configuration)
        Parameters:
        configuration - 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
      • createdAt

        public DataSourceState.Builder createdAt​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - Unix time stamp of when the Data Source was created.
        Returns:
        builder
      • createdAt

        public DataSourceState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - Unix time stamp of when the Data Source was created.
        Returns:
        builder
      • customDocumentEnrichmentConfiguration

        public DataSourceState.Builder customDocumentEnrichmentConfiguration​(@Nullable
                                                                             com.pulumi.core.Output<DataSourceCustomDocumentEnrichmentConfigurationArgs> customDocumentEnrichmentConfiguration)
        Parameters:
        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](https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html). Detailed below.
        Returns:
        builder
      • customDocumentEnrichmentConfiguration

        public DataSourceState.Builder customDocumentEnrichmentConfiguration​(DataSourceCustomDocumentEnrichmentConfigurationArgs customDocumentEnrichmentConfiguration)
        Parameters:
        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](https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html). Detailed below.
        Returns:
        builder
      • dataSourceId

        public DataSourceState.Builder dataSourceId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> dataSourceId)
        Parameters:
        dataSourceId - Unique identifiers of the Data Source.
        Returns:
        builder
      • dataSourceId

        public DataSourceState.Builder dataSourceId​(java.lang.String dataSourceId)
        Parameters:
        dataSourceId - Unique identifiers of the Data Source.
        Returns:
        builder
      • description

        public DataSourceState.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description for the Data Source connector.
        Returns:
        builder
      • description

        public DataSourceState.Builder description​(java.lang.String description)
        Parameters:
        description - Description for the Data Source connector.
        Returns:
        builder
      • errorMessage

        public DataSourceState.Builder errorMessage​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> errorMessage)
        Parameters:
        errorMessage - When the Status field value is `FAILED`, contains a description of the error that caused the Data Source to fail.
        Returns:
        builder
      • errorMessage

        public DataSourceState.Builder errorMessage​(java.lang.String errorMessage)
        Parameters:
        errorMessage - When the Status field value is `FAILED`, contains a description of the error that caused the Data Source to fail.
        Returns:
        builder
      • indexId

        public DataSourceState.Builder indexId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> indexId)
        Parameters:
        indexId - Identifier of the index for your Amazon Kendra data source.
        Returns:
        builder
      • indexId

        public DataSourceState.Builder indexId​(java.lang.String indexId)
        Parameters:
        indexId - Identifier of the index for your Amazon Kendra data source.
        Returns:
        builder
      • languageCode

        public DataSourceState.Builder languageCode​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> languageCode)
        Parameters:
        languageCode - 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 DataSourceState.Builder languageCode​(java.lang.String languageCode)
        Parameters:
        languageCode - 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 DataSourceState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name for your data source connector.
        Returns:
        builder
      • name

        public DataSourceState.Builder name​(java.lang.String name)
        Parameters:
        name - Name for your data source connector.
        Returns:
        builder
      • region

        public DataSourceState.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public DataSourceState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • roleArn

        public DataSourceState.Builder roleArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - 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 `roleArn` parameter when the `type` parameter is set to `CUSTOM`. The `roleArn` parameter is required for all other data sources.
        Returns:
        builder
      • roleArn

        public DataSourceState.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - 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 `roleArn` parameter when the `type` parameter is set to `CUSTOM`. The `roleArn` parameter is required for all other data sources.
        Returns:
        builder
      • schedule

        public DataSourceState.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 DataSourceState.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
      • status

        public DataSourceState.Builder status​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - 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.
        Returns:
        builder
      • status

        public DataSourceState.Builder status​(java.lang.String status)
        Parameters:
        status - 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.
        Returns:
        builder
      • tags

        public DataSourceState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public DataSourceState.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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public DataSourceState.Builder tagsAll​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public DataSourceState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • type

        public DataSourceState.Builder type​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - 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 DataSourceState.Builder type​(java.lang.String type)
        Parameters:
        type - 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
      • updatedAt

        public DataSourceState.Builder updatedAt​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> updatedAt)
        Parameters:
        updatedAt - Unix time stamp of when the Data Source was last updated.
        Returns:
        builder
      • updatedAt

        public DataSourceState.Builder updatedAt​(java.lang.String updatedAt)
        Parameters:
        updatedAt - Unix time stamp of when the Data Source was last updated.
        Returns:
        builder