Class DialogflowCxEntityTypeEntities.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_entity_type.DialogflowCxEntityTypeEntities.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxEntityTypeEntities>
- Enclosing interface:
- DialogflowCxEntityTypeEntities
@Stability(Stable) public static final class DialogflowCxEntityTypeEntities.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxEntityTypeEntities>
A builder forDialogflowCxEntityTypeEntities
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogflowCxEntityTypeEntitiesbuild()Builds the configured instance.DialogflowCxEntityTypeEntities.Buildersynonyms(List<String> synonyms)Sets the value ofDialogflowCxEntityTypeEntities.getSynonyms()DialogflowCxEntityTypeEntities.Buildervalue(String value)Sets the value ofDialogflowCxEntityTypeEntities.getValue()
-
-
-
Method Detail
-
synonyms
@Stability(Stable) public DialogflowCxEntityTypeEntities.Builder synonyms(List<String> synonyms)
Sets the value ofDialogflowCxEntityTypeEntities.getSynonyms()- Parameters:
synonyms- A collection of value synonyms. 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_cx_entity_type#synonyms DialogflowCxEntityType#synonyms}- Returns:
this
-
value
@Stability(Stable) public DialogflowCxEntityTypeEntities.Builder value(String value)
Sets the value ofDialogflowCxEntityTypeEntities.getValue()- Parameters:
value- The primary value associated with this entity entry. For example, if the entity type is vegetable, the value could be scallions. For KIND_MAP entity types: A canonical 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_cx_entity_type#value DialogflowCxEntityType#value}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxEntityTypeEntities build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxEntityTypeEntities>- Returns:
- a new instance of
DialogflowCxEntityTypeEntities - Throws:
NullPointerException- if any required attribute was not provided
-
-