Class DialogflowCxVersionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_version.DialogflowCxVersionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxVersionConfig>
- Enclosing interface:
- DialogflowCxVersionConfig
@Stability(Stable) public static final class DialogflowCxVersionConfig.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxVersionConfig>
A builder forDialogflowCxVersionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxVersionConfigbuild()Builds the configured instance.DialogflowCxVersionConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DialogflowCxVersionConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DialogflowCxVersionConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DialogflowCxVersionConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DialogflowCxVersionConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DialogflowCxVersionConfig.Builderdescription(String description)Sets the value ofDialogflowCxVersionConfig.getDescription()DialogflowCxVersionConfig.BuilderdisplayName(String displayName)Sets the value ofDialogflowCxVersionConfig.getDisplayName()DialogflowCxVersionConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DialogflowCxVersionConfig.Builderid(String id)Sets the value ofDialogflowCxVersionConfig.getId()DialogflowCxVersionConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DialogflowCxVersionConfig.Builderparent(String parent)Sets the value ofDialogflowCxVersionConfig.getParent()DialogflowCxVersionConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DialogflowCxVersionConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DialogflowCxVersionConfig.Buildertimeouts(DialogflowCxVersionTimeouts timeouts)Sets the value ofDialogflowCxVersionConfig.getTimeouts()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DialogflowCxVersionConfig.Builder displayName(String displayName)
Sets the value ofDialogflowCxVersionConfig.getDisplayName()- Parameters:
displayName- The human-readable name of the version. 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_version#display_name DialogflowCxVersion#display_name}- Returns:
this
-
description
@Stability(Stable) public DialogflowCxVersionConfig.Builder description(String description)
Sets the value ofDialogflowCxVersionConfig.getDescription()- Parameters:
description- The description of the version. 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_version#description DialogflowCxVersion#description}- Returns:
this
-
id
@Stability(Stable) public DialogflowCxVersionConfig.Builder id(String id)
Sets the value ofDialogflowCxVersionConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_version#id DialogflowCxVersion#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 DialogflowCxVersionConfig.Builder parent(String parent)
Sets the value ofDialogflowCxVersionConfig.getParent()- Parameters:
parent- The Flow to create an Version for. Format: projects//locations/ /agents/ /flows/ . Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_version#parent DialogflowCxVersion#parent} - Returns:
this
-
timeouts
@Stability(Stable) public DialogflowCxVersionConfig.Builder timeouts(DialogflowCxVersionTimeouts timeouts)
Sets the value ofDialogflowCxVersionConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_version#timeouts DialogflowCxVersion#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DialogflowCxVersionConfig.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 DialogflowCxVersionConfig.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 DialogflowCxVersionConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowCxVersionConfig.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 DialogflowCxVersionConfig.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 DialogflowCxVersionConfig.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 DialogflowCxVersionConfig.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 DialogflowCxVersionConfig.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 DialogflowCxVersionConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DialogflowCxVersionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxVersionConfig>- Returns:
- a new instance of
DialogflowCxVersionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-