Class DialogflowCxFlowConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        @Stability(Stable)
        public DialogflowCxFlowConfig.Builder displayName​(String displayName)
        Parameters:
        displayName - The human-readable name of the flow. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#display_name DialogflowCxFlow#display_name}
        Returns:
        this
      • description

        @Stability(Stable)
        public DialogflowCxFlowConfig.Builder description​(String description)
        Parameters:
        description - The description of the flow. The maximum length is 500 characters. If exceeded, the request is rejected. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#description DialogflowCxFlow#description}
        Returns:
        this
      • eventHandlers

        @Stability(Stable)
        public DialogflowCxFlowConfig.Builder eventHandlers​(com.hashicorp.cdktf.IResolvable eventHandlers)
        Parameters:
        eventHandlers - event_handlers block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#event_handlers DialogflowCxFlow#event_handlers}
        Returns:
        this
      • id

        @Stability(Stable)
        public DialogflowCxFlowConfig.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_flow#id DialogflowCxFlow#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
      • isDefaultStartFlow

        @Stability(Stable)
        public DialogflowCxFlowConfig.Builder isDefaultStartFlow​(Boolean isDefaultStartFlow)
        Parameters:
        isDefaultStartFlow - Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the 'google_dialogflow_cx_flow' resource does nothing to the underlying GCP resources. ~> Avoid having multiple 'google_dialogflow_cx_flow' resources linked to the same agent with 'is_default_start_flow = true' because they will compete to control a single Default Start Flow resource in GCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#is_default_start_flow DialogflowCxFlow#is_default_start_flow}
        Returns:
        this
      • isDefaultStartFlow

        @Stability(Stable)
        public DialogflowCxFlowConfig.Builder isDefaultStartFlow​(com.hashicorp.cdktf.IResolvable isDefaultStartFlow)
        Parameters:
        isDefaultStartFlow - Marks this as the Default Start Flow for an agent. When you create an agent, the Default Start Flow is created automatically. The Default Start Flow cannot be deleted; deleting the 'google_dialogflow_cx_flow' resource does nothing to the underlying GCP resources. ~> Avoid having multiple 'google_dialogflow_cx_flow' resources linked to the same agent with 'is_default_start_flow = true' because they will compete to control a single Default Start Flow resource in GCP. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#is_default_start_flow DialogflowCxFlow#is_default_start_flow}
        Returns:
        this
      • languageCode

        @Stability(Stable)
        public DialogflowCxFlowConfig.Builder languageCode​(String languageCode)
        Parameters:
        languageCode - The language of the following fields in flow: Flow.event_handlers.trigger_fulfillment.messages Flow.event_handlers.trigger_fulfillment.conditional_cases Flow.transition_routes.trigger_fulfillment.messages Flow.transition_routes.trigger_fulfillment.conditional_cases 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_flow#language_code DialogflowCxFlow#language_code}
        Returns:
        this
      • parent

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

        @Stability(Stable)
        public DialogflowCxFlowConfig.Builder transitionRouteGroups​(List<String> transitionRouteGroups)
        Parameters:
        transitionRouteGroups - A flow's transition route group serve two purposes: They are responsible for matching the user's first utterances in the flow. They are inherited by every page's [transition route groups][Page.transition_route_groups]. Transition route groups defined in the page have higher priority than those defined in the flow. Format:projects//locations//agents//flows//transitionRouteGroups/. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#transition_route_groups DialogflowCxFlow#transition_route_groups}
        Returns:
        this
      • transitionRoutes

        @Stability(Stable)
        public DialogflowCxFlowConfig.Builder transitionRoutes​(com.hashicorp.cdktf.IResolvable transitionRoutes)
        Parameters:
        transitionRoutes - transition_routes block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_flow#transition_routes DialogflowCxFlow#transition_routes}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public DialogflowCxFlowConfig.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 DialogflowCxFlowConfig.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 DialogflowCxFlowConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

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