Class NetworkServicesLbRouteExtension.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

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

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder extensionChains​(com.hashicorp.cdktf.IResolvable extensionChains)
        extension_chains block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#extension_chains NetworkServicesLbRouteExtension#extension_chains}

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

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder extensionChains​(List<? extends NetworkServicesLbRouteExtensionExtensionChains> extensionChains)
        extension_chains block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#extension_chains NetworkServicesLbRouteExtension#extension_chains}

        Parameters:
        extensionChains - extension_chains block. This parameter is required.
        Returns:
        this
      • forwardingRules

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder forwardingRules​(List<String> forwardingRules)
        A list of references to the forwarding rules to which this service extension is attached to.

        At least one forwarding rule is required. There can be only one LbRouteExtension resource per forwarding rule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#forwarding_rules NetworkServicesLbRouteExtension#forwarding_rules}

        Parameters:
        forwardingRules - A list of references to the forwarding rules to which this service extension is attached to. This parameter is required.
        Returns:
        this
      • loadBalancingScheme

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder loadBalancingScheme​(String loadBalancingScheme)
        All backend services and forwarding rules referenced by this extension must share the same load balancing scheme.

        For more information, refer to [Choosing a load balancer](https://cloud.google.com/load-balancing/docs/backend-service) and [Supported application load balancers](https://cloud.google.com/service-extensions/docs/callouts-overview#supported-lbs). Possible values: ["INTERNAL_MANAGED", "EXTERNAL_MANAGED"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#load_balancing_scheme NetworkServicesLbRouteExtension#load_balancing_scheme}

        Parameters:
        loadBalancingScheme - All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder location​(String location)
        The location of the route extension.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#location NetworkServicesLbRouteExtension#location}

        Parameters:
        location - The location of the route extension. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder name​(String name)
        Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#name NetworkServicesLbRouteExtension#name}

        Parameters:
        name - Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder description​(String description)
        A human-readable description of the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#description NetworkServicesLbRouteExtension#description}

        Parameters:
        description - A human-readable description of the resource. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#id NetworkServicesLbRouteExtension#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/network_services_lb_route_extension#id NetworkServicesLbRouteExtension#id}. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder labels​(Map<String,​String> labels)
        Set of labels associated with the LbRouteExtension resource.

        **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#labels NetworkServicesLbRouteExtension#labels}

        Parameters:
        labels - Set of labels associated with the LbRouteExtension resource. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_route_extension#project NetworkServicesLbRouteExtension#project}.

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

        @Stability(Stable)
        public NetworkServicesLbRouteExtension.Builder timeouts​(NetworkServicesLbRouteExtensionTimeouts timeouts)
        timeouts block.

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

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