Class DialogflowEntityTypeConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_entity_type.DialogflowEntityTypeConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowEntityTypeConfig>
- Enclosing interface:
- DialogflowEntityTypeConfig
@Stability(Stable) public static final class DialogflowEntityTypeConfig.Builder extends Object implements software.amazon.jsii.Builder<DialogflowEntityTypeConfig>
A builder forDialogflowEntityTypeConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowEntityTypeConfigbuild()Builds the configured instance.DialogflowEntityTypeConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DialogflowEntityTypeConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DialogflowEntityTypeConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DialogflowEntityTypeConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DialogflowEntityTypeConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DialogflowEntityTypeConfig.BuilderdisplayName(String displayName)Sets the value ofDialogflowEntityTypeConfig.getDisplayName()DialogflowEntityTypeConfig.BuilderenableFuzzyExtraction(com.hashicorp.cdktf.IResolvable enableFuzzyExtraction)Sets the value ofDialogflowEntityTypeConfig.getEnableFuzzyExtraction()DialogflowEntityTypeConfig.BuilderenableFuzzyExtraction(Boolean enableFuzzyExtraction)Sets the value ofDialogflowEntityTypeConfig.getEnableFuzzyExtraction()DialogflowEntityTypeConfig.Builderentities(com.hashicorp.cdktf.IResolvable entities)Sets the value ofDialogflowEntityTypeConfig.getEntities()DialogflowEntityTypeConfig.Builderentities(List<? extends DialogflowEntityTypeEntities> entities)Sets the value ofDialogflowEntityTypeConfig.getEntities()DialogflowEntityTypeConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DialogflowEntityTypeConfig.Builderid(String id)Sets the value ofDialogflowEntityTypeConfig.getId()DialogflowEntityTypeConfig.Builderkind(String kind)Sets the value ofDialogflowEntityTypeConfig.getKind()DialogflowEntityTypeConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DialogflowEntityTypeConfig.Builderproject(String project)Sets the value ofDialogflowEntityTypeConfig.getProject()DialogflowEntityTypeConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DialogflowEntityTypeConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DialogflowEntityTypeConfig.Buildertimeouts(DialogflowEntityTypeTimeouts timeouts)Sets the value ofDialogflowEntityTypeConfig.getTimeouts()
-
-
-
Method Detail
-
displayName
@Stability(Stable) public DialogflowEntityTypeConfig.Builder displayName(String displayName)
Sets the value ofDialogflowEntityTypeConfig.getDisplayName()- Parameters:
displayName- The name of this entity type to be displayed on the console. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#display_name DialogflowEntityType#display_name}- Returns:
this
-
kind
@Stability(Stable) public DialogflowEntityTypeConfig.Builder kind(String kind)
Sets the value ofDialogflowEntityTypeConfig.getKind()- Parameters:
kind- Indicates the kind of entity type. This parameter is required. * KIND_MAP: Map entity types allow mapping of a group of synonyms to a reference value. * KIND_LIST: List entity types contain a set of entries that do not map to reference values. However, list entity types can contain references to other entity types (with or without aliases). * KIND_REGEXP: Regexp entity types allow to specify regular expressions in entries values. Possible values: ["KIND_MAP", "KIND_LIST", "KIND_REGEXP"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#kind DialogflowEntityType#kind}- Returns:
this
-
enableFuzzyExtraction
@Stability(Stable) public DialogflowEntityTypeConfig.Builder enableFuzzyExtraction(Boolean enableFuzzyExtraction)
Sets the value ofDialogflowEntityTypeConfig.getEnableFuzzyExtraction()- Parameters:
enableFuzzyExtraction- Enables fuzzy entity extraction during classification. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#enable_fuzzy_extraction DialogflowEntityType#enable_fuzzy_extraction}- Returns:
this
-
enableFuzzyExtraction
@Stability(Stable) public DialogflowEntityTypeConfig.Builder enableFuzzyExtraction(com.hashicorp.cdktf.IResolvable enableFuzzyExtraction)
Sets the value ofDialogflowEntityTypeConfig.getEnableFuzzyExtraction()- Parameters:
enableFuzzyExtraction- Enables fuzzy entity extraction during classification. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#enable_fuzzy_extraction DialogflowEntityType#enable_fuzzy_extraction}- Returns:
this
-
entities
@Stability(Stable) public DialogflowEntityTypeConfig.Builder entities(com.hashicorp.cdktf.IResolvable entities)
Sets the value ofDialogflowEntityTypeConfig.getEntities()- Parameters:
entities- entities block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#entities DialogflowEntityType#entities}- Returns:
this
-
entities
@Stability(Stable) public DialogflowEntityTypeConfig.Builder entities(List<? extends DialogflowEntityTypeEntities> entities)
Sets the value ofDialogflowEntityTypeConfig.getEntities()- Parameters:
entities- entities block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#entities DialogflowEntityType#entities}- Returns:
this
-
id
@Stability(Stable) public DialogflowEntityTypeConfig.Builder id(String id)
Sets the value ofDialogflowEntityTypeConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#id DialogflowEntityType#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 DialogflowEntityTypeConfig.Builder project(String project)
Sets the value ofDialogflowEntityTypeConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#project DialogflowEntityType#project}.- Returns:
this
-
timeouts
@Stability(Stable) public DialogflowEntityTypeConfig.Builder timeouts(DialogflowEntityTypeTimeouts timeouts)
Sets the value ofDialogflowEntityTypeConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#timeouts DialogflowEntityType#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DialogflowEntityTypeConfig.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 DialogflowEntityTypeConfig.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 DialogflowEntityTypeConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DialogflowEntityTypeConfig.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 DialogflowEntityTypeConfig.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 DialogflowEntityTypeConfig.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 DialogflowEntityTypeConfig.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 DialogflowEntityTypeConfig.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 DialogflowEntityTypeConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DialogflowEntityTypeConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowEntityTypeConfig>- Returns:
- a new instance of
DialogflowEntityTypeConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-