Class DiscoveryEngineDataStoreConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • contentConfig

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder contentConfig​(String contentConfig)
        Parameters:
        contentConfig - The content config of the data store. Possible values: ["NO_CONTENT", "CONTENT_REQUIRED", "PUBLIC_WEBSITE"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#content_config DiscoveryEngineDataStore#content_config}
        Returns:
        this
      • dataStoreId

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder dataStoreId​(String dataStoreId)
        Parameters:
        dataStoreId - The unique id of the data store. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#data_store_id DiscoveryEngineDataStore#data_store_id}
        Returns:
        this
      • displayName

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder displayName​(String displayName)
        Parameters:
        displayName - The display name of the data store. This parameter is required. This field must be a UTF-8 encoded string with a length limit of 128 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#display_name DiscoveryEngineDataStore#display_name}
        Returns:
        this
      • industryVertical

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder industryVertical​(String industryVertical)
        Parameters:
        industryVertical - The industry vertical that the data store registers. Possible values: ["GENERIC", "MEDIA"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#industry_vertical DiscoveryEngineDataStore#industry_vertical}
        Returns:
        this
      • location

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder location​(String location)
        Parameters:
        location - The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu". This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#location DiscoveryEngineDataStore#location}
        Returns:
        this
      • createAdvancedSiteSearch

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder createAdvancedSiteSearch​(Boolean createAdvancedSiteSearch)
        Parameters:
        createAdvancedSiteSearch - If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#create_advanced_site_search DiscoveryEngineDataStore#create_advanced_site_search}
        Returns:
        this
      • createAdvancedSiteSearch

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder createAdvancedSiteSearch​(com.hashicorp.cdktf.IResolvable createAdvancedSiteSearch)
        Parameters:
        createAdvancedSiteSearch - If true, an advanced data store for site search will be created. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE contentConfig), this flag will be ignored. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#create_advanced_site_search DiscoveryEngineDataStore#create_advanced_site_search}
        Returns:
        this
      • id

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#id DiscoveryEngineDataStore#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
        Returns:
        this
      • skipDefaultSchemaCreation

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder skipDefaultSchemaCreation​(Boolean skipDefaultSchemaCreation)
        Parameters:
        skipDefaultSchemaCreation - A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if 'data_store.starting_schema' is specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#skip_default_schema_creation DiscoveryEngineDataStore#skip_default_schema_creation}
        Returns:
        this
      • skipDefaultSchemaCreation

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder skipDefaultSchemaCreation​(com.hashicorp.cdktf.IResolvable skipDefaultSchemaCreation)
        Parameters:
        skipDefaultSchemaCreation - A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if 'data_store.starting_schema' is specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#skip_default_schema_creation DiscoveryEngineDataStore#skip_default_schema_creation}
        Returns:
        this
      • solutionTypes

        @Stability(Stable)
        public DiscoveryEngineDataStoreConfig.Builder solutionTypes​(List<String> solutionTypes)
        Parameters:
        solutionTypes - The solutions that the data store enrolls. Possible values: ["SOLUTION_TYPE_RECOMMENDATION", "SOLUTION_TYPE_SEARCH", "SOLUTION_TYPE_CHAT"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#solution_types DiscoveryEngineDataStore#solution_types}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DiscoveryEngineDataStoreConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DiscoveryEngineDataStoreConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DiscoveryEngineDataStoreConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public DiscoveryEngineDataStoreConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public DiscoveryEngineDataStoreConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public DiscoveryEngineDataStoreConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public DiscoveryEngineDataStoreConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DiscoveryEngineDataStoreConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this