Class DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dns_record_set.DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers>
- Enclosing interface:
- DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers
@Stability(Stable) public static final class DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builder extends Object implements software.amazon.jsii.Builder<DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancersbuild()Builds the configured instance.DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.BuilderipAddress(String ipAddress)DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.BuilderipProtocol(String ipProtocol)DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.BuilderloadBalancerType(String loadBalancerType)DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.BuildernetworkUrl(String networkUrl)DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builderport(String port)DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builderproject(String project)DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builderregion(String region)
-
-
-
Method Detail
-
ipAddress
@Stability(Stable) public DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builder ipAddress(String ipAddress)
- 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 DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builder ipProtocol(String ipProtocol)
Sets the value ofDnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.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 DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builder networkUrl(String networkUrl)
Sets the value ofDnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.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 DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.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 DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builder project(String project)
- 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 DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.Builder loadBalancerType(String loadBalancerType)
Sets the value ofDnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.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 DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers.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 DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers>- Returns:
- a new instance of
DnsRecordSetRoutingPolicyPrimaryBackupPrimaryInternalLoadBalancers - Throws:
NullPointerException- if any required attribute was not provided
-
-