Class NetworkServicesLbTrafficExtension.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

        @Stability(Stable)
        public NetworkServicesLbTrafficExtension.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_traffic_extension#extension_chains NetworkServicesLbTrafficExtension#extension_chains}

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

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

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

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

        @Stability(Stable)
        public NetworkServicesLbTrafficExtension.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 LBTrafficExtension resource per forwarding rule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_lb_traffic_extension#forwarding_rules NetworkServicesLbTrafficExtension#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
      • location

        @Stability(Stable)
        public NetworkServicesLbTrafficExtension.Builder location​(String location)
        The location of the traffic extension.

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

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

        @Stability(Stable)
        public NetworkServicesLbTrafficExtension.Builder name​(String name)
        Name of the LbTrafficExtension resource in the following format: projects/{project}/locations/{location}/lbTrafficExtensions/{lbTrafficExtension}.

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

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

        @Stability(Stable)
        public NetworkServicesLbTrafficExtension.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_traffic_extension#description NetworkServicesLbTrafficExtension#description}

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

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

        @Stability(Stable)
        public NetworkServicesLbTrafficExtension.Builder labels​(Map<String,​String> labels)
        Set of labels associated with the LbTrafficExtension 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_traffic_extension#labels NetworkServicesLbTrafficExtension#labels}

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

        @Stability(Stable)
        public NetworkServicesLbTrafficExtension.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_traffic_extension#load_balancing_scheme NetworkServicesLbTrafficExtension#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
      • project

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

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

        @Stability(Stable)
        public NetworkServicesLbTrafficExtension.Builder timeouts​(NetworkServicesLbTrafficExtensionTimeouts timeouts)
        timeouts block.

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

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