Class DiscoveryEngineChatEngineConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.discovery_engine_chat_engine.DiscoveryEngineChatEngineConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DiscoveryEngineChatEngineConfig>
- Enclosing interface:
- DiscoveryEngineChatEngineConfig
@Stability(Stable) public static final class DiscoveryEngineChatEngineConfig.Builder extends Object implements software.amazon.jsii.Builder<DiscoveryEngineChatEngineConfig>
A builder forDiscoveryEngineChatEngineConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
chatEngineConfig
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder chatEngineConfig(DiscoveryEngineChatEngineChatEngineConfig chatEngineConfig)
Sets the value ofDiscoveryEngineChatEngineConfig.getChatEngineConfig()- Parameters:
chatEngineConfig- chat_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_chat_engine#chat_engine_config DiscoveryEngineChatEngine#chat_engine_config}- Returns:
this
-
collectionId
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder collectionId(String collectionId)
Sets the value ofDiscoveryEngineChatEngineConfig.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_chat_engine#collection_id DiscoveryEngineChatEngine#collection_id}- Returns:
this
-
dataStoreIds
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder dataStoreIds(List<String> dataStoreIds)
Sets the value ofDiscoveryEngineChatEngineConfig.getDataStoreIds()- Parameters:
dataStoreIds- The data stores associated with this engine. This parameter is required. Multiple DataStores in the same Collection can be associated here. All listed DataStores must be 'SOLUTION_TYPE_CHAT'. Adding or removing data stores will force recreation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_chat_engine#data_store_ids DiscoveryEngineChatEngine#data_store_ids}- Returns:
this
-
displayName
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder displayName(String displayName)
Sets the value ofDiscoveryEngineChatEngineConfig.getDisplayName()- Parameters:
displayName- 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_chat_engine#display_name DiscoveryEngineChatEngine#display_name}- Returns:
this
-
engineId
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder engineId(String engineId)
Sets the value ofDiscoveryEngineChatEngineConfig.getEngineId()- Parameters:
engineId- The ID to use for chat engine. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_chat_engine#engine_id DiscoveryEngineChatEngine#engine_id}- Returns:
this
-
location
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder location(String location)
Sets the value ofDiscoveryEngineChatEngineConfig.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_chat_engine#location DiscoveryEngineChatEngine#location}- Returns:
this
-
commonConfig
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder commonConfig(DiscoveryEngineChatEngineCommonConfig commonConfig)
Sets the value ofDiscoveryEngineChatEngineConfig.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_chat_engine#common_config DiscoveryEngineChatEngine#common_config}- Returns:
this
-
id
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder id(String id)
Sets the value ofDiscoveryEngineChatEngineConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_chat_engine#id DiscoveryEngineChatEngine#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 DiscoveryEngineChatEngineConfig.Builder industryVertical(String industryVertical)
Sets the value ofDiscoveryEngineChatEngineConfig.getIndustryVertical()- Parameters:
industryVertical- The industry vertical that the chat engine registers. Vertical on Engine has to match vertical of the DataStore linked to the engine. Default value: "GENERIC" Possible values: ["GENERIC"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_chat_engine#industry_vertical DiscoveryEngineChatEngine#industry_vertical}- Returns:
this
-
project
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder project(String project)
Sets the value ofDiscoveryEngineChatEngineConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_chat_engine#project DiscoveryEngineChatEngine#project}.- Returns:
this
-
timeouts
@Stability(Stable) public DiscoveryEngineChatEngineConfig.Builder timeouts(DiscoveryEngineChatEngineTimeouts timeouts)
Sets the value ofDiscoveryEngineChatEngineConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/discovery_engine_chat_engine#timeouts DiscoveryEngineChatEngine#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DiscoveryEngineChatEngineConfig.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 DiscoveryEngineChatEngineConfig.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 DiscoveryEngineChatEngineConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DiscoveryEngineChatEngineConfig.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 DiscoveryEngineChatEngineConfig.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 DiscoveryEngineChatEngineConfig.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 DiscoveryEngineChatEngineConfig.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 DiscoveryEngineChatEngineConfig.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 DiscoveryEngineChatEngineConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DiscoveryEngineChatEngineConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DiscoveryEngineChatEngineConfig>- Returns:
- a new instance of
DiscoveryEngineChatEngineConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-