Class DialogflowCxEnvironmentConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_environment.DialogflowCxEnvironmentConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxEnvironmentConfig>
- Enclosing interface:
- DialogflowCxEnvironmentConfig
@Stability(Stable) public static final class DialogflowCxEnvironmentConfig.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxEnvironmentConfig>
A builder forDialogflowCxEnvironmentConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxEnvironmentConfigbuild()Builds the configured instance.DialogflowCxEnvironmentConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DialogflowCxEnvironmentConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DialogflowCxEnvironmentConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DialogflowCxEnvironmentConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DialogflowCxEnvironmentConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DialogflowCxEnvironmentConfig.Builderdescription(String description)Sets the value ofDialogflowCxEnvironmentConfig.getDescription()DialogflowCxEnvironmentConfig.BuilderdisplayName(String displayName)Sets the value ofDialogflowCxEnvironmentConfig.getDisplayName()DialogflowCxEnvironmentConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DialogflowCxEnvironmentConfig.Builderid(String id)Sets the value ofDialogflowCxEnvironmentConfig.getId()DialogflowCxEnvironmentConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DialogflowCxEnvironmentConfig.Builderparent(String parent)Sets the value ofDialogflowCxEnvironmentConfig.getParent()DialogflowCxEnvironmentConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DialogflowCxEnvironmentConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DialogflowCxEnvironmentConfig.Buildertimeouts(DialogflowCxEnvironmentTimeouts timeouts)Sets the value ofDialogflowCxEnvironmentConfig.getTimeouts()DialogflowCxEnvironmentConfig.BuilderversionConfigs(com.hashicorp.cdktf.IResolvable versionConfigs)Sets the value ofDialogflowCxEnvironmentConfig.getVersionConfigs()DialogflowCxEnvironmentConfig.BuilderversionConfigs(List<? extends DialogflowCxEnvironmentVersionConfigs> versionConfigs)Sets the value ofDialogflowCxEnvironmentConfig.getVersionConfigs()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DialogflowCxEnvironmentConfig.Builder displayName(String displayName)
Sets the value ofDialogflowCxEnvironmentConfig.getDisplayName()- Parameters:
displayName- The human-readable name of the environment (unique in an agent). Limit of 64 characters. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_environment#display_name DialogflowCxEnvironment#display_name}- Returns:
this
-
versionConfigs
@Stability(Stable) public DialogflowCxEnvironmentConfig.Builder versionConfigs(com.hashicorp.cdktf.IResolvable versionConfigs)
Sets the value ofDialogflowCxEnvironmentConfig.getVersionConfigs()- Parameters:
versionConfigs- version_configs block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_environment#version_configs DialogflowCxEnvironment#version_configs}- Returns:
this
-
versionConfigs
@Stability(Stable) public DialogflowCxEnvironmentConfig.Builder versionConfigs(List<? extends DialogflowCxEnvironmentVersionConfigs> versionConfigs)
Sets the value ofDialogflowCxEnvironmentConfig.getVersionConfigs()- Parameters:
versionConfigs- version_configs block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_environment#version_configs DialogflowCxEnvironment#version_configs}- Returns:
this
-
description
@Stability(Stable) public DialogflowCxEnvironmentConfig.Builder description(String description)
Sets the value ofDialogflowCxEnvironmentConfig.getDescription()- Parameters:
description- The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_environment#description DialogflowCxEnvironment#description}- Returns:
this
-
id
@Stability(Stable) public DialogflowCxEnvironmentConfig.Builder id(String id)
Sets the value ofDialogflowCxEnvironmentConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_environment#id DialogflowCxEnvironment#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
-
parent
@Stability(Stable) public DialogflowCxEnvironmentConfig.Builder parent(String parent)
Sets the value ofDialogflowCxEnvironmentConfig.getParent()- Parameters:
parent- The Agent to create an Environment for. Format: projects//locations/ /agents/ . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_environment#parent DialogflowCxEnvironment#parent} - Returns:
this
-
timeouts
@Stability(Stable) public DialogflowCxEnvironmentConfig.Builder timeouts(DialogflowCxEnvironmentTimeouts timeouts)
Sets the value ofDialogflowCxEnvironmentConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_environment#timeouts DialogflowCxEnvironment#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxEnvironmentConfig.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 DialogflowCxEnvironmentConfig.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 DialogflowCxEnvironmentConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxEnvironmentConfig.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 DialogflowCxEnvironmentConfig.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 DialogflowCxEnvironmentConfig.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 DialogflowCxEnvironmentConfig.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 DialogflowCxEnvironmentConfig.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 DialogflowCxEnvironmentConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DialogflowCxEnvironmentConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxEnvironmentConfig>- Returns:
- a new instance of
DialogflowCxEnvironmentConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-