target.apidocs.com.google.api.services.dns.model.RRSetRoutingPolicyWrrPolicyWrrPolicyItem.html Maven / Gradle / Ivy
RRSetRoutingPolicyWrrPolicyWrrPolicyItem (Cloud DNS API v1-rev20240118-2.0.0)
com.google.api.services.dns.model
Class RRSetRoutingPolicyWrrPolicyWrrPolicyItem
- 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.RRSetRoutingPolicyWrrPolicyWrrPolicyItem
-
public final class RRSetRoutingPolicyWrrPolicyWrrPolicyItem
extends com.google.api.client.json.GenericJson
A routing block which contains the routing information for one WRR item.
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
RRSetRoutingPolicyWrrPolicyWrrPolicyItem()
-
Method Summary
-
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
-
-
Constructor Detail
-
RRSetRoutingPolicyWrrPolicyWrrPolicyItem
public RRSetRoutingPolicyWrrPolicyWrrPolicyItem()
-
Method Detail
-
getHealthCheckedTargets
public RRSetRoutingPolicyHealthCheckTargets getHealthCheckedTargets()
Endpoints that are health checked before making the routing decision. The unhealthy endpoints
are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a
different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for
this zone, only one of rrdata or health_checked_targets can be set.
- Returns:
- value or
null
for none
-
setHealthCheckedTargets
public RRSetRoutingPolicyWrrPolicyWrrPolicyItem setHealthCheckedTargets(RRSetRoutingPolicyHealthCheckTargets healthCheckedTargets)
Endpoints that are health checked before making the routing decision. The unhealthy endpoints
are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a
different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for
this zone, only one of rrdata or health_checked_targets can be set.
- Parameters:
healthCheckedTargets
- healthCheckedTargets or null
for none
-
getKind
public String getKind()
- Returns:
- value or
null
for none
-
setKind
public RRSetRoutingPolicyWrrPolicyWrrPolicyItem setKind(String kind)
- Parameters:
kind
- kind or null
for none
-
setRrdatas
public RRSetRoutingPolicyWrrPolicyWrrPolicyItem setRrdatas(List<String> rrdatas)
- Parameters:
rrdatas
- rrdatas or null
for none
-
getSignatureRrdatas
public List<String> getSignatureRrdatas()
DNSSEC generated signatures for all the rrdata within this item. Note that if health checked
targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.
- Returns:
- value or
null
for none
-
setSignatureRrdatas
public RRSetRoutingPolicyWrrPolicyWrrPolicyItem setSignatureRrdatas(List<String> signatureRrdatas)
DNSSEC generated signatures for all the rrdata within this item. Note that if health checked
targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.
- Parameters:
signatureRrdatas
- signatureRrdatas or null
for none
-
getWeight
public Double getWeight()
The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are
configured, the probability of returning an WrrPolicyItem object's data is proportional to its
weight relative to the sum of weights configured for all items. This weight must be non-
negative.
- Returns:
- value or
null
for none
-
setWeight
public RRSetRoutingPolicyWrrPolicyWrrPolicyItem setWeight(Double weight)
The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are
configured, the probability of returning an WrrPolicyItem object's data is proportional to its
weight relative to the sum of weights configured for all items. This weight must be non-
negative.
- Parameters:
weight
- weight or null
for none
-
set
public RRSetRoutingPolicyWrrPolicyWrrPolicyItem set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public RRSetRoutingPolicyWrrPolicyWrrPolicyItem 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