target.apidocs.com.google.api.services.dns.model.RRSetRoutingPolicyGeoPolicy.html Maven / Gradle / Ivy
RRSetRoutingPolicyGeoPolicy (Cloud DNS API v1-rev20240118-2.0.0)
com.google.api.services.dns.model
Class RRSetRoutingPolicyGeoPolicy
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dns.model.RRSetRoutingPolicyGeoPolicy
-
public final class RRSetRoutingPolicyGeoPolicy
extends com.google.api.client.json.GenericJson
Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
RRSetRoutingPolicyGeoPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RRSetRoutingPolicyGeoPolicy
clone()
Boolean
getEnableFencing()
Without fencing, if health check fails for all configured items in the current geo bucket, we
failover to the next nearest geo bucket.
List<RRSetRoutingPolicyGeoPolicyGeoPolicyItem>
getItems()
The primary geo routing configuration.
String
getKind()
RRSetRoutingPolicyGeoPolicy
set(String fieldName,
Object value)
RRSetRoutingPolicyGeoPolicy
setEnableFencing(Boolean enableFencing)
Without fencing, if health check fails for all configured items in the current geo bucket, we
failover to the next nearest geo bucket.
RRSetRoutingPolicyGeoPolicy
setItems(List<RRSetRoutingPolicyGeoPolicyGeoPolicyItem> items)
The primary geo routing configuration.
RRSetRoutingPolicyGeoPolicy
setKind(String kind)
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getEnableFencing
public Boolean getEnableFencing()
Without fencing, if health check fails for all configured items in the current geo bucket, we
failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long
as some targets in the current geo bucket are healthy, we return only the healthy targets.
However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead,
we return all the items in the current bucket even when all targets are unhealthy.
- Returns:
- value or
null
for none
-
setEnableFencing
public RRSetRoutingPolicyGeoPolicy setEnableFencing(Boolean enableFencing)
Without fencing, if health check fails for all configured items in the current geo bucket, we
failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long
as some targets in the current geo bucket are healthy, we return only the healthy targets.
However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead,
we return all the items in the current bucket even when all targets are unhealthy.
- Parameters:
enableFencing
- enableFencing or null
for none
-
getItems
public List<RRSetRoutingPolicyGeoPolicyGeoPolicyItem> getItems()
The primary geo routing configuration. If there are multiple items with the same location, an
error is returned instead.
- Returns:
- value or
null
for none
-
setItems
public RRSetRoutingPolicyGeoPolicy setItems(List<RRSetRoutingPolicyGeoPolicyGeoPolicyItem> items)
The primary geo routing configuration. If there are multiple items with the same location, an
error is returned instead.
- Parameters:
items
- items or null
for none
-
getKind
public String getKind()
- Returns:
- value or
null
for none
-
setKind
public RRSetRoutingPolicyGeoPolicy setKind(String kind)
- Parameters:
kind
- kind or null
for none
-
set
public RRSetRoutingPolicyGeoPolicy set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public RRSetRoutingPolicyGeoPolicy clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy