Class DiscoveryEngineDataStoreConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.discovery_engine_data_store.DiscoveryEngineDataStoreConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DiscoveryEngineDataStoreConfig>
- Enclosing interface:
- DiscoveryEngineDataStoreConfig
@Stability(Stable) public static final class DiscoveryEngineDataStoreConfig.Builder extends Object implements software.amazon.jsii.Builder<DiscoveryEngineDataStoreConfig>
A builder forDiscoveryEngineDataStoreConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
contentConfig
@Stability(Stable) public DiscoveryEngineDataStoreConfig.Builder contentConfig(String contentConfig)
Sets the value ofDiscoveryEngineDataStoreConfig.getContentConfig()- 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)
Sets the value ofDiscoveryEngineDataStoreConfig.getDataStoreId()- 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)
Sets the value ofDiscoveryEngineDataStoreConfig.getDisplayName()- 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)
Sets the value ofDiscoveryEngineDataStoreConfig.getIndustryVertical()- 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)
Sets the value ofDiscoveryEngineDataStoreConfig.getLocation()- 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)
Sets the value ofDiscoveryEngineDataStoreConfig.getCreateAdvancedSiteSearch()- 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)
Sets the value ofDiscoveryEngineDataStoreConfig.getCreateAdvancedSiteSearch()- 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
-
documentProcessingConfig
@Stability(Stable) public DiscoveryEngineDataStoreConfig.Builder documentProcessingConfig(DiscoveryEngineDataStoreDocumentProcessingConfig documentProcessingConfig)
Sets the value ofDiscoveryEngineDataStoreConfig.getDocumentProcessingConfig()- Parameters:
documentProcessingConfig- document_processing_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#document_processing_config DiscoveryEngineDataStore#document_processing_config}- Returns:
this
-
id
@Stability(Stable) public DiscoveryEngineDataStoreConfig.Builder id(String id)
Sets the value ofDiscoveryEngineDataStoreConfig.getId()- 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
-
project
@Stability(Stable) public DiscoveryEngineDataStoreConfig.Builder project(String project)
Sets the value ofDiscoveryEngineDataStoreConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#project DiscoveryEngineDataStore#project}.- Returns:
this
-
skipDefaultSchemaCreation
@Stability(Stable) public DiscoveryEngineDataStoreConfig.Builder skipDefaultSchemaCreation(Boolean skipDefaultSchemaCreation)
Sets the value ofDiscoveryEngineDataStoreConfig.getSkipDefaultSchemaCreation()- 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)
Sets the value ofDiscoveryEngineDataStoreConfig.getSkipDefaultSchemaCreation()- 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)
Sets the value ofDiscoveryEngineDataStoreConfig.getSolutionTypes()- 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
-
timeouts
@Stability(Stable) public DiscoveryEngineDataStoreConfig.Builder timeouts(DiscoveryEngineDataStoreTimeouts timeouts)
Sets the value ofDiscoveryEngineDataStoreConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_data_store#timeouts DiscoveryEngineDataStore#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DiscoveryEngineDataStoreConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.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 ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DiscoveryEngineDataStoreConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DiscoveryEngineDataStoreConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DiscoveryEngineDataStoreConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DiscoveryEngineDataStoreConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DiscoveryEngineDataStoreConfig>- Returns:
- a new instance of
DiscoveryEngineDataStoreConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-