Class ApigeeFlowhook.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static ApigeeFlowhook.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 ApigeeFlowhook.Builder.
      • connection

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

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

        @Stability(Experimental)
        public ApigeeFlowhook.Builder count​(Number count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • count

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

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

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

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

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

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

        @Stability(Stable)
        public ApigeeFlowhook.Builder environment​(String environment)
        The resource ID of the environment.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#environment ApigeeFlowhook#environment}

        Parameters:
        environment - The resource ID of the environment. This parameter is required.
        Returns:
        this
      • flowHookPoint

        @Stability(Stable)
        public ApigeeFlowhook.Builder flowHookPoint​(String flowHookPoint)
        Where in the API call flow the flow hook is invoked.

        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}

        Parameters:
        flowHookPoint - Where in the API call flow the flow hook is invoked. This parameter is required.
        Returns:
        this
      • orgId

        @Stability(Stable)
        public ApigeeFlowhook.Builder orgId​(String orgId)
        The Apigee Organization associated with the environment.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#org_id ApigeeFlowhook#org_id}

        Parameters:
        orgId - The Apigee Organization associated with the environment. This parameter is required.
        Returns:
        this
      • sharedflow

        @Stability(Stable)
        public ApigeeFlowhook.Builder sharedflow​(String sharedflow)
        Id of the Sharedflow attaching to a flowhook point.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#sharedflow ApigeeFlowhook#sharedflow}

        Parameters:
        sharedflow - Id of the Sharedflow attaching to a flowhook point. This parameter is required.
        Returns:
        this
      • continueOnError

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

        Parameters:
        continueOnError - Flag that specifies whether execution should continue if the flow hook throws an exception. This parameter is required.
        Returns:
        this
      • continueOnError

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

        Parameters:
        continueOnError - Flag that specifies whether execution should continue if the flow hook throws an exception. This parameter is required.
        Returns:
        this
      • description

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

        Parameters:
        description - Description of the flow hook. This parameter is required.
        Returns:
        this
      • id

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

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#id ApigeeFlowhook#id}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public ApigeeFlowhook.Builder timeouts​(ApigeeFlowhookTimeouts timeouts)
        timeouts block.

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

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