Class DnsRecordSetRoutingPolicyPrimaryBackup.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dns_record_set.DnsRecordSetRoutingPolicyPrimaryBackup.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DnsRecordSetRoutingPolicyPrimaryBackup>
- Enclosing interface:
- DnsRecordSetRoutingPolicyPrimaryBackup
@Stability(Stable) public static final class DnsRecordSetRoutingPolicyPrimaryBackup.Builder extends Object implements software.amazon.jsii.Builder<DnsRecordSetRoutingPolicyPrimaryBackup>
A builder forDnsRecordSetRoutingPolicyPrimaryBackup
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
backupGeo
@Stability(Stable) public DnsRecordSetRoutingPolicyPrimaryBackup.Builder backupGeo(com.hashicorp.cdktf.IResolvable backupGeo)
Sets the value ofDnsRecordSetRoutingPolicyPrimaryBackup.getBackupGeo()- Parameters:
backupGeo- backup_geo block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#backup_geo DnsRecordSet#backup_geo}- Returns:
this
-
backupGeo
@Stability(Stable) public DnsRecordSetRoutingPolicyPrimaryBackup.Builder backupGeo(List<? extends DnsRecordSetRoutingPolicyPrimaryBackupBackupGeo> backupGeo)
Sets the value ofDnsRecordSetRoutingPolicyPrimaryBackup.getBackupGeo()- Parameters:
backupGeo- backup_geo block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#backup_geo DnsRecordSet#backup_geo}- Returns:
this
-
primary
@Stability(Stable) public DnsRecordSetRoutingPolicyPrimaryBackup.Builder primary(DnsRecordSetRoutingPolicyPrimaryBackupPrimary primary)
Sets the value ofDnsRecordSetRoutingPolicyPrimaryBackup.getPrimary()- Parameters:
primary- primary block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#primary DnsRecordSet#primary}- Returns:
this
-
enableGeoFencingForBackups
@Stability(Stable) public DnsRecordSetRoutingPolicyPrimaryBackup.Builder enableGeoFencingForBackups(Boolean enableGeoFencingForBackups)
Sets the value ofDnsRecordSetRoutingPolicyPrimaryBackup.getEnableGeoFencingForBackups()- Parameters:
enableGeoFencingForBackups- Specifies whether to enable fencing for backup geo queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#enable_geo_fencing_for_backups DnsRecordSet#enable_geo_fencing_for_backups}- Returns:
this
-
enableGeoFencingForBackups
@Stability(Stable) public DnsRecordSetRoutingPolicyPrimaryBackup.Builder enableGeoFencingForBackups(com.hashicorp.cdktf.IResolvable enableGeoFencingForBackups)
Sets the value ofDnsRecordSetRoutingPolicyPrimaryBackup.getEnableGeoFencingForBackups()- Parameters:
enableGeoFencingForBackups- Specifies whether to enable fencing for backup geo queries. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#enable_geo_fencing_for_backups DnsRecordSet#enable_geo_fencing_for_backups}- Returns:
this
-
trickleRatio
@Stability(Stable) public DnsRecordSetRoutingPolicyPrimaryBackup.Builder trickleRatio(Number trickleRatio)
Sets the value ofDnsRecordSetRoutingPolicyPrimaryBackup.getTrickleRatio()- Parameters:
trickleRatio- Specifies the percentage of traffic to send to the backup targets even when the primary targets are healthy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dns_record_set#trickle_ratio DnsRecordSet#trickle_ratio}- Returns:
this
-
build
@Stability(Stable) public DnsRecordSetRoutingPolicyPrimaryBackup build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DnsRecordSetRoutingPolicyPrimaryBackup>- Returns:
- a new instance of
DnsRecordSetRoutingPolicyPrimaryBackup - Throws:
NullPointerException- if any required attribute was not provided
-
-