public final class RRSetRoutingPolicyPrimaryBackupPolicy
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud DNS API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RRSetRoutingPolicyPrimaryBackupPolicy() |
| Modifier and Type | Method and Description |
|---|---|
RRSetRoutingPolicyPrimaryBackupPolicy |
clone() |
RRSetRoutingPolicyGeoPolicy |
getBackupGeoTargets()
Backup targets provide a regional failover policy for the otherwise global primary targets.
|
String |
getKind() |
RRSetRoutingPolicyHealthCheckTargets |
getPrimaryTargets()
Endpoints that are health checked before making the routing decision.
|
Double |
getTrickleTraffic()
When serving state is `PRIMARY`, this field provides the option of sending a small percentage
of the traffic to the backup targets.
|
RRSetRoutingPolicyPrimaryBackupPolicy |
set(String fieldName,
Object value) |
RRSetRoutingPolicyPrimaryBackupPolicy |
setBackupGeoTargets(RRSetRoutingPolicyGeoPolicy backupGeoTargets)
Backup targets provide a regional failover policy for the otherwise global primary targets.
|
RRSetRoutingPolicyPrimaryBackupPolicy |
setKind(String kind) |
RRSetRoutingPolicyPrimaryBackupPolicy |
setPrimaryTargets(RRSetRoutingPolicyHealthCheckTargets primaryTargets)
Endpoints that are health checked before making the routing decision.
|
RRSetRoutingPolicyPrimaryBackupPolicy |
setTrickleTraffic(Double trickleTraffic)
When serving state is `PRIMARY`, this field provides the option of sending a small percentage
of the traffic to the backup targets.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic RRSetRoutingPolicyPrimaryBackupPolicy()
public RRSetRoutingPolicyGeoPolicy getBackupGeoTargets()
null for nonepublic RRSetRoutingPolicyPrimaryBackupPolicy setBackupGeoTargets(RRSetRoutingPolicyGeoPolicy backupGeoTargets)
backupGeoTargets - backupGeoTargets or null for nonepublic String getKind()
null for nonepublic RRSetRoutingPolicyPrimaryBackupPolicy setKind(String kind)
kind - kind or null for nonepublic RRSetRoutingPolicyHealthCheckTargets getPrimaryTargets()
null for nonepublic RRSetRoutingPolicyPrimaryBackupPolicy setPrimaryTargets(RRSetRoutingPolicyHealthCheckTargets primaryTargets)
primaryTargets - primaryTargets or null for nonepublic Double getTrickleTraffic()
null for nonepublic RRSetRoutingPolicyPrimaryBackupPolicy setTrickleTraffic(Double trickleTraffic)
trickleTraffic - trickleTraffic or null for nonepublic RRSetRoutingPolicyPrimaryBackupPolicy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RRSetRoutingPolicyPrimaryBackupPolicy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.