Class DnsRecordSetRoutingPolicyGeo.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dns_record_set.DnsRecordSetRoutingPolicyGeo.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DnsRecordSetRoutingPolicyGeo>
- Enclosing interface:
- DnsRecordSetRoutingPolicyGeo
@Stability(Stable) public static final class DnsRecordSetRoutingPolicyGeo.Builder extends Object implements software.amazon.jsii.Builder<DnsRecordSetRoutingPolicyGeo>
A builder forDnsRecordSetRoutingPolicyGeo
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsRecordSetRoutingPolicyGeobuild()Builds the configured instance.DnsRecordSetRoutingPolicyGeo.BuilderhealthCheckedTargets(DnsRecordSetRoutingPolicyGeoHealthCheckedTargets healthCheckedTargets)Sets the value ofDnsRecordSetRoutingPolicyGeo.getHealthCheckedTargets()DnsRecordSetRoutingPolicyGeo.Builderlocation(String location)Sets the value ofDnsRecordSetRoutingPolicyGeo.getLocation()DnsRecordSetRoutingPolicyGeo.Builderrrdatas(List<String> rrdatas)Sets the value ofDnsRecordSetRoutingPolicyGeo.getRrdatas()
-
-
-
Method Detail
-
location
@Stability(Stable) public DnsRecordSetRoutingPolicyGeo.Builder location(String location)
Sets the value ofDnsRecordSetRoutingPolicyGeo.getLocation()- Parameters:
location- The location name defined in Google Cloud. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#location DnsRecordSet#location}- Returns:
this
-
healthCheckedTargets
@Stability(Stable) public DnsRecordSetRoutingPolicyGeo.Builder healthCheckedTargets(DnsRecordSetRoutingPolicyGeoHealthCheckedTargets healthCheckedTargets)
Sets the value ofDnsRecordSetRoutingPolicyGeo.getHealthCheckedTargets()- Parameters:
healthCheckedTargets- health_checked_targets block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#health_checked_targets DnsRecordSet#health_checked_targets}- Returns:
this
-
rrdatas
@Stability(Stable) public DnsRecordSetRoutingPolicyGeo.Builder rrdatas(List<String> rrdatas)
Sets the value ofDnsRecordSetRoutingPolicyGeo.getRrdatas()- Parameters:
rrdatas- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#rrdatas DnsRecordSet#rrdatas}.- Returns:
this
-
build
@Stability(Stable) public DnsRecordSetRoutingPolicyGeo build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DnsRecordSetRoutingPolicyGeo>- Returns:
- a new instance of
DnsRecordSetRoutingPolicyGeo - Throws:
NullPointerException- if any required attribute was not provided
-
-