Class NetworkServicesLbRouteExtensionConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • extensionChains

        @Stability(Stable)
        public NetworkServicesLbRouteExtensionConfig.Builder extensionChains​(com.hashicorp.cdktf.IResolvable extensionChains)
        Parameters:
        extensionChains - extension_chains block. This parameter is required. 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}
        Returns:
        this
      • forwardingRules

        @Stability(Stable)
        public NetworkServicesLbRouteExtensionConfig.Builder forwardingRules​(List<String> forwardingRules)
        Parameters:
        forwardingRules - A list of references to the forwarding rules to which this service extension is attached to. This parameter is required. 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}
        Returns:
        this
      • loadBalancingScheme

        @Stability(Stable)
        public NetworkServicesLbRouteExtensionConfig.Builder loadBalancingScheme​(String loadBalancingScheme)
        Parameters:
        loadBalancingScheme - All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. This parameter is required. 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}
        Returns:
        this
      • name

        @Stability(Stable)
        public NetworkServicesLbRouteExtensionConfig.Builder name​(String name)
        Parameters:
        name - Name of the LbRouteExtension resource in the following format: projects/{project}/locations/{location}/lbRouteExtensions/{lbRouteExtension}. This parameter is required. 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}
        Returns:
        this
      • id

        @Stability(Stable)
        public NetworkServicesLbRouteExtensionConfig.Builder id​(String id)
        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}. 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
      • labels

        @Stability(Stable)
        public NetworkServicesLbRouteExtensionConfig.Builder labels​(Map<String,​String> labels)
        Parameters:
        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}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public NetworkServicesLbRouteExtensionConfig.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 NetworkServicesLbRouteExtensionConfig.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 NetworkServicesLbRouteExtensionConfig.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 NetworkServicesLbRouteExtensionConfig.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 NetworkServicesLbRouteExtensionConfig.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 NetworkServicesLbRouteExtensionConfig.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 NetworkServicesLbRouteExtensionConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this