Class DiscoveryEngineSearchEngineConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.discovery_engine_search_engine.DiscoveryEngineSearchEngineConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DiscoveryEngineSearchEngineConfig>
- Enclosing interface:
- DiscoveryEngineSearchEngineConfig
@Stability(Stable) public static final class DiscoveryEngineSearchEngineConfig.Builder extends Object implements software.amazon.jsii.Builder<DiscoveryEngineSearchEngineConfig>
A builder forDiscoveryEngineSearchEngineConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
collectionId
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder collectionId(String collectionId)
Sets the value ofDiscoveryEngineSearchEngineConfig.getCollectionId()- Parameters:
collectionId- The collection ID. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#collection_id DiscoveryEngineSearchEngine#collection_id}- Returns:
this
-
dataStoreIds
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder dataStoreIds(List<String> dataStoreIds)
Sets the value ofDiscoveryEngineSearchEngineConfig.getDataStoreIds()- Parameters:
dataStoreIds- The data stores associated with this engine. This parameter is required. For SOLUTION_TYPE_SEARCH type of engines, they can only associate with at most one data store. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#data_store_ids DiscoveryEngineSearchEngine#data_store_ids}- Returns:
this
-
displayName
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder displayName(String displayName)
Sets the value ofDiscoveryEngineSearchEngineConfig.getDisplayName()- Parameters:
displayName- Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#display_name DiscoveryEngineSearchEngine#display_name}- Returns:
this
-
engineId
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder engineId(String engineId)
Sets the value ofDiscoveryEngineSearchEngineConfig.getEngineId()- Parameters:
engineId- Unique ID to use for Search Engine App. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#engine_id DiscoveryEngineSearchEngine#engine_id}- Returns:
this
-
location
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder location(String location)
Sets the value ofDiscoveryEngineSearchEngineConfig.getLocation()- Parameters:
location- Location. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#location DiscoveryEngineSearchEngine#location}- Returns:
this
-
searchEngineConfig
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder searchEngineConfig(DiscoveryEngineSearchEngineSearchEngineConfig searchEngineConfig)
Sets the value ofDiscoveryEngineSearchEngineConfig.getSearchEngineConfig()- Parameters:
searchEngineConfig- search_engine_config block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#search_engine_config DiscoveryEngineSearchEngine#search_engine_config}- Returns:
this
-
commonConfig
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder commonConfig(DiscoveryEngineSearchEngineCommonConfig commonConfig)
Sets the value ofDiscoveryEngineSearchEngineConfig.getCommonConfig()- Parameters:
commonConfig- common_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#common_config DiscoveryEngineSearchEngine#common_config}- Returns:
this
-
id
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder id(String id)
Sets the value ofDiscoveryEngineSearchEngineConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#id DiscoveryEngineSearchEngine#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
-
industryVertical
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder industryVertical(String industryVertical)
Sets the value ofDiscoveryEngineSearchEngineConfig.getIndustryVertical()- Parameters:
industryVertical- The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to GENERIC. Vertical on Engine has to match vertical of the DataStore liniked to the engine. Default value: "GENERIC" Possible values: ["GENERIC", "MEDIA"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#industry_vertical DiscoveryEngineSearchEngine#industry_vertical}- Returns:
this
-
project
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder project(String project)
Sets the value ofDiscoveryEngineSearchEngineConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#project DiscoveryEngineSearchEngine#project}.- Returns:
this
-
timeouts
@Stability(Stable) public DiscoveryEngineSearchEngineConfig.Builder timeouts(DiscoveryEngineSearchEngineTimeouts timeouts)
Sets the value ofDiscoveryEngineSearchEngineConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_search_engine#timeouts DiscoveryEngineSearchEngine#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DiscoveryEngineSearchEngineConfig.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 DiscoveryEngineSearchEngineConfig.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 DiscoveryEngineSearchEngineConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DiscoveryEngineSearchEngineConfig.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 DiscoveryEngineSearchEngineConfig.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 DiscoveryEngineSearchEngineConfig.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 DiscoveryEngineSearchEngineConfig.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 DiscoveryEngineSearchEngineConfig.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 DiscoveryEngineSearchEngineConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DiscoveryEngineSearchEngineConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DiscoveryEngineSearchEngineConfig>- Returns:
- a new instance of
DiscoveryEngineSearchEngineConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-