Class DialogflowEntityTypeEntities.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_entity_type.DialogflowEntityTypeEntities.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowEntityTypeEntities>
- Enclosing interface:
- DialogflowEntityTypeEntities
@Stability(Stable) public static final class DialogflowEntityTypeEntities.Builder extends Object implements software.amazon.jsii.Builder<DialogflowEntityTypeEntities>
A builder forDialogflowEntityTypeEntities
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowEntityTypeEntitiesbuild()Builds the configured instance.DialogflowEntityTypeEntities.Buildersynonyms(List<String> synonyms)Sets the value ofDialogflowEntityTypeEntities.getSynonyms()DialogflowEntityTypeEntities.Buildervalue(String value)Sets the value ofDialogflowEntityTypeEntities.getValue()
-
-
-
Method Detail
-
synonyms
@Stability(Stable) public DialogflowEntityTypeEntities.Builder synonyms(List<String> synonyms)
Sets the value ofDialogflowEntityTypeEntities.getSynonyms()- Parameters:
synonyms- A collection of value synonyms. This parameter is required. For example, if the entity type is vegetable, and value is scallions, a synonym could be green onions. For KIND_LIST entity types: * This collection must contain exactly one synonym equal to value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#synonyms DialogflowEntityType#synonyms}- Returns:
this
-
value
@Stability(Stable) public DialogflowEntityTypeEntities.Builder value(String value)
Sets the value ofDialogflowEntityTypeEntities.getValue()- Parameters:
value- The primary value associated with this entity entry. This parameter is required. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types: * A reference value to be used in place of synonyms. For KIND_LIST entity types: * A string that can contain references to other entity types (with or without aliases). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_entity_type#value DialogflowEntityType#value}- Returns:
this
-
build
@Stability(Stable) public DialogflowEntityTypeEntities build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowEntityTypeEntities>- Returns:
- a new instance of
DialogflowEntityTypeEntities - Throws:
NullPointerException- if any required attribute was not provided
-
-