Class DialogflowCxEntityTypeConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder displayName​(String displayName)
        Parameters:
        displayName - The human-readable name of the entity type, unique within the agent. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#display_name DialogflowCxEntityType#display_name}
        Returns:
        this
      • entities

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder entities​(com.hashicorp.cdktf.IResolvable entities)
        Parameters:
        entities - entities block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#entities DialogflowCxEntityType#entities}
        Returns:
        this
      • kind

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder kind​(String kind)
        Parameters:
        kind - Indicates whether the entity type can be automatically expanded. This parameter is required. * KIND_MAP: Map entity types allow mapping of a group of synonyms to a canonical value. * KIND_LIST: List entity types contain a set of entries that do not map to canonical 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_cx_entity_type#kind DialogflowCxEntityType#kind}
        Returns:
        this
      • autoExpansionMode

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder autoExpansionMode​(String autoExpansionMode)
        Parameters:
        autoExpansionMode - Represents kinds of entities. * AUTO_EXPANSION_MODE_UNSPECIFIED: Auto expansion disabled for the entity. * AUTO_EXPANSION_MODE_DEFAULT: Allows an agent to recognize values that have not been explicitly listed in the entity. Possible values: ["AUTO_EXPANSION_MODE_DEFAULT", "AUTO_EXPANSION_MODE_UNSPECIFIED"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#auto_expansion_mode DialogflowCxEntityType#auto_expansion_mode}
        Returns:
        this
      • enableFuzzyExtraction

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder enableFuzzyExtraction​(Boolean enableFuzzyExtraction)
        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_cx_entity_type#enable_fuzzy_extraction DialogflowCxEntityType#enable_fuzzy_extraction}
        Returns:
        this
      • enableFuzzyExtraction

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder enableFuzzyExtraction​(com.hashicorp.cdktf.IResolvable enableFuzzyExtraction)
        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_cx_entity_type#enable_fuzzy_extraction DialogflowCxEntityType#enable_fuzzy_extraction}
        Returns:
        this
      • excludedPhrases

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder excludedPhrases​(com.hashicorp.cdktf.IResolvable excludedPhrases)
        Parameters:
        excludedPhrases - excluded_phrases block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#excluded_phrases DialogflowCxEntityType#excluded_phrases}
        Returns:
        this
      • id

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#id DialogflowCxEntityType#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
      • languageCode

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder languageCode​(String languageCode)
        Parameters:
        languageCode - The language of the following fields in entityType: EntityType.entities.value EntityType.entities.synonyms EntityType.excluded_phrases.value If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#language_code DialogflowCxEntityType#language_code}
        Returns:
        this
      • parent

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder parent​(String parent)
        Parameters:
        parent - The agent to create a entity type for. Format: projects//locations//agents/. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#parent DialogflowCxEntityType#parent}
        Returns:
        this
      • redact

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder redact​(Boolean redact)
        Parameters:
        redact - Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#redact DialogflowCxEntityType#redact}
        Returns:
        this
      • redact

        @Stability(Stable)
        public DialogflowCxEntityTypeConfig.Builder redact​(com.hashicorp.cdktf.IResolvable redact)
        Parameters:
        redact - Indicates whether parameters of the entity type should be redacted in log. If redaction is enabled, page parameters and intent parameters referring to the entity type will be replaced by parameter name when logging. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#redact DialogflowCxEntityType#redact}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DialogflowCxEntityTypeConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DialogflowCxEntityTypeConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DialogflowCxEntityTypeConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public DialogflowCxEntityTypeConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public DialogflowCxEntityTypeConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public DialogflowCxEntityTypeConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public DialogflowCxEntityTypeConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DialogflowCxEntityTypeConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this