Class ApigeeFlowhookConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • environment

        @Stability(Stable)
        public ApigeeFlowhookConfig.Builder environment​(String environment)
        Parameters:
        environment - The resource ID of the environment. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#environment ApigeeFlowhook#environment}
        Returns:
        this
      • flowHookPoint

        @Stability(Stable)
        public ApigeeFlowhookConfig.Builder flowHookPoint​(String flowHookPoint)
        Parameters:
        flowHookPoint - Where in the API call flow the flow hook is invoked. This parameter is required. Must be one of PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook, or PostTargetFlowHook. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#flow_hook_point ApigeeFlowhook#flow_hook_point}
        Returns:
        this
      • orgId

        @Stability(Stable)
        public ApigeeFlowhookConfig.Builder orgId​(String orgId)
        Parameters:
        orgId - The Apigee Organization associated with the environment. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#org_id ApigeeFlowhook#org_id}
        Returns:
        this
      • sharedflow

        @Stability(Stable)
        public ApigeeFlowhookConfig.Builder sharedflow​(String sharedflow)
        Parameters:
        sharedflow - Id of the Sharedflow attaching to a flowhook point. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#sharedflow ApigeeFlowhook#sharedflow}
        Returns:
        this
      • continueOnError

        @Stability(Stable)
        public ApigeeFlowhookConfig.Builder continueOnError​(Boolean continueOnError)
        Parameters:
        continueOnError - Flag that specifies whether execution should continue if the flow hook throws an exception. Set to true to continue execution. Set to false to stop execution if the flow hook throws an exception. Defaults to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#continue_on_error ApigeeFlowhook#continue_on_error}
        Returns:
        this
      • continueOnError

        @Stability(Stable)
        public ApigeeFlowhookConfig.Builder continueOnError​(com.hashicorp.cdktf.IResolvable continueOnError)
        Parameters:
        continueOnError - Flag that specifies whether execution should continue if the flow hook throws an exception. Set to true to continue execution. Set to false to stop execution if the flow hook throws an exception. Defaults to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#continue_on_error ApigeeFlowhook#continue_on_error}
        Returns:
        this
      • description

        @Stability(Stable)
        public ApigeeFlowhookConfig.Builder description​(String description)
        Parameters:
        description - Description of the flow hook. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#description ApigeeFlowhook#description}
        Returns:
        this
      • id

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

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

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