Class DialogflowCxEntityType.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static DialogflowCxEntityType.Builder create​(software.constructs.Construct scope,
                                                            String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of DialogflowCxEntityType.Builder.
      • connection

        @Stability(Experimental)
        public DialogflowCxEntityType.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DialogflowCxEntityType.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public DialogflowCxEntityType.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public DialogflowCxEntityType.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public DialogflowCxEntityType.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public DialogflowCxEntityType.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public DialogflowCxEntityType.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public DialogflowCxEntityType.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • displayName

        @Stability(Stable)
        public DialogflowCxEntityType.Builder displayName​(String displayName)
        The human-readable name of the entity type, unique within the agent.

        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}

        Parameters:
        displayName - The human-readable name of the entity type, unique within the agent. This parameter is required.
        Returns:
        this
      • entities

        @Stability(Stable)
        public DialogflowCxEntityType.Builder entities​(com.hashicorp.cdktf.IResolvable entities)
        entities block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#entities DialogflowCxEntityType#entities}

        Parameters:
        entities - entities block. This parameter is required.
        Returns:
        this
      • entities

        @Stability(Stable)
        public DialogflowCxEntityType.Builder entities​(List<? extends DialogflowCxEntityTypeEntities> entities)
        entities block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#entities DialogflowCxEntityType#entities}

        Parameters:
        entities - entities block. This parameter is required.
        Returns:
        this
      • kind

        @Stability(Stable)
        public DialogflowCxEntityType.Builder kind​(String kind)
        Indicates whether the entity type can be automatically expanded.

        * 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}

        Parameters:
        kind - Indicates whether the entity type can be automatically expanded. This parameter is required.
        Returns:
        this
      • autoExpansionMode

        @Stability(Stable)
        public DialogflowCxEntityType.Builder autoExpansionMode​(String 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}

        Parameters:
        autoExpansionMode - Represents kinds of entities. This parameter is required.
        Returns:
        this
      • enableFuzzyExtraction

        @Stability(Stable)
        public DialogflowCxEntityType.Builder enableFuzzyExtraction​(Boolean 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}

        Parameters:
        enableFuzzyExtraction - Enables fuzzy entity extraction during classification. This parameter is required.
        Returns:
        this
      • enableFuzzyExtraction

        @Stability(Stable)
        public DialogflowCxEntityType.Builder enableFuzzyExtraction​(com.hashicorp.cdktf.IResolvable 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}

        Parameters:
        enableFuzzyExtraction - Enables fuzzy entity extraction during classification. This parameter is required.
        Returns:
        this
      • excludedPhrases

        @Stability(Stable)
        public DialogflowCxEntityType.Builder excludedPhrases​(com.hashicorp.cdktf.IResolvable 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}

        Parameters:
        excludedPhrases - excluded_phrases block. This parameter is required.
        Returns:
        this
      • excludedPhrases

        @Stability(Stable)
        public DialogflowCxEntityType.Builder excludedPhrases​(List<? extends DialogflowCxEntityTypeExcludedPhrases> 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}

        Parameters:
        excludedPhrases - excluded_phrases block. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public DialogflowCxEntityType.Builder id​(String 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.

        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}. This parameter is required.
        Returns:
        this
      • languageCode

        @Stability(Stable)
        public DialogflowCxEntityType.Builder languageCode​(String 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}

        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. This parameter is required.
        Returns:
        this
      • parent

        @Stability(Stable)
        public DialogflowCxEntityType.Builder parent​(String 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}

        Parameters:
        parent - The agent to create a entity type for. Format: projects//locations//agents/. This parameter is required.
        Returns:
        this
      • redact

        @Stability(Stable)
        public DialogflowCxEntityType.Builder redact​(Boolean 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}

        Parameters:
        redact - Indicates whether parameters of the entity type should be redacted in log. This parameter is required.
        Returns:
        this
      • redact

        @Stability(Stable)
        public DialogflowCxEntityType.Builder redact​(com.hashicorp.cdktf.IResolvable 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}

        Parameters:
        redact - Indicates whether parameters of the entity type should be redacted in log. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public DialogflowCxEntityType.Builder timeouts​(DialogflowCxEntityTypeTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_entity_type#timeouts DialogflowCxEntityType#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this