Class NetworkServicesLbRouteExtensionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.network_services_lb_route_extension.NetworkServicesLbRouteExtensionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkServicesLbRouteExtensionConfig>
- Enclosing interface:
- NetworkServicesLbRouteExtensionConfig
@Stability(Stable) public static final class NetworkServicesLbRouteExtensionConfig.Builder extends Object implements software.amazon.jsii.Builder<NetworkServicesLbRouteExtensionConfig>
A builder forNetworkServicesLbRouteExtensionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
extensionChains
@Stability(Stable) public NetworkServicesLbRouteExtensionConfig.Builder extensionChains(com.hashicorp.cdktf.IResolvable extensionChains)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getExtensionChains()- 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
-
extensionChains
@Stability(Stable) public NetworkServicesLbRouteExtensionConfig.Builder extensionChains(List<? extends NetworkServicesLbRouteExtensionExtensionChains> extensionChains)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getExtensionChains()- 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)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getForwardingRules()- 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)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getLoadBalancingScheme()- 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
-
location
@Stability(Stable) public NetworkServicesLbRouteExtensionConfig.Builder location(String location)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getLocation()- Parameters:
location- The location of the route extension. 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#location NetworkServicesLbRouteExtension#location}- Returns:
this
-
name
@Stability(Stable) public NetworkServicesLbRouteExtensionConfig.Builder name(String name)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getName()- 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
-
description
@Stability(Stable) public NetworkServicesLbRouteExtensionConfig.Builder description(String description)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getDescription()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public NetworkServicesLbRouteExtensionConfig.Builder id(String id)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getId()- 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)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getLabels()- 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
-
project
@Stability(Stable) public NetworkServicesLbRouteExtensionConfig.Builder project(String project)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getProject()- 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}.- Returns:
this
-
timeouts
@Stability(Stable) public NetworkServicesLbRouteExtensionConfig.Builder timeouts(NetworkServicesLbRouteExtensionTimeouts timeouts)
Sets the value ofNetworkServicesLbRouteExtensionConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public NetworkServicesLbRouteExtensionConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.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 ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkServicesLbRouteExtensionConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkServicesLbRouteExtensionConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public NetworkServicesLbRouteExtensionConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetworkServicesLbRouteExtensionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkServicesLbRouteExtensionConfig>- Returns:
- a new instance of
NetworkServicesLbRouteExtensionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-