Class DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dns_record_set.DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers>
- Enclosing interface:
- DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers
@Stability(Stable) public static final class DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder extends Object implements software.amazon.jsii.Builder<DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancersbuild()Builds the configured instance.DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.BuilderipAddress(String ipAddress)DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.BuilderipProtocol(String ipProtocol)DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.BuilderloadBalancerType(String loadBalancerType)DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.BuildernetworkUrl(String networkUrl)DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builderport(String port)DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builderproject(String project)DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builderregion(String region)
-
-
-
Method Detail
-
ipAddress
@Stability(Stable) public DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder ipAddress(String ipAddress)
Sets the value ofDnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.getIpAddress()- Parameters:
ipAddress- The frontend IP address of the load balancer. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#ip_address DnsRecordSet#ip_address}- Returns:
this
-
ipProtocol
@Stability(Stable) public DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder ipProtocol(String ipProtocol)
Sets the value ofDnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.getIpProtocol()- Parameters:
ipProtocol- The configured IP protocol of the load balancer. This value is case-sensitive. Possible values: ["tcp", "udp"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#ip_protocol DnsRecordSet#ip_protocol}- Returns:
this
-
networkUrl
@Stability(Stable) public DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder networkUrl(String networkUrl)
Sets the value ofDnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.getNetworkUrl()- Parameters:
networkUrl- The fully qualified url of the network in which the load balancer belongs. This should be formatted likehttps://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#network_url DnsRecordSet#network_url}- Returns:
this
-
port
@Stability(Stable) public DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder port(String port)
- Parameters:
port- The configured port of the load balancer. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#port DnsRecordSet#port}- Returns:
this
-
project
@Stability(Stable) public DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder project(String project)
Sets the value ofDnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.getProject()- Parameters:
project- The ID of the project in which the load balancer belongs. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#project DnsRecordSet#project}- Returns:
this
-
loadBalancerType
@Stability(Stable) public DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder loadBalancerType(String loadBalancerType)
Sets the value ofDnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.getLoadBalancerType()- Parameters:
loadBalancerType- The type of load balancer. This value is case-sensitive. Possible values: ["regionalL4ilb", "regionalL7ilb", "globalL7ilb"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#load_balancer_type DnsRecordSet#load_balancer_type}- Returns:
this
-
region
@Stability(Stable) public DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers.Builder region(String region)
- Parameters:
region- The region of the load balancer. Only needed for regional load balancers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#region DnsRecordSet#region}- Returns:
this
-
build
@Stability(Stable) public DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers>- Returns:
- a new instance of
DnsRecordSetRoutingPolicyWrrHealthCheckedTargetsInternalLoadBalancers - Throws:
NullPointerException- if any required attribute was not provided
-
-