target.apidocs.com.google.api.services.dns.model.RRSetRoutingPolicy.html Maven / Gradle / Ivy
RRSetRoutingPolicy (Cloud DNS API v1-rev20240118-2.0.0)
com.google.api.services.dns.model
Class RRSetRoutingPolicy
- 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.RRSetRoutingPolicy
-
public final class RRSetRoutingPolicy
extends com.google.api.client.json.GenericJson
A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the
response varying based on configured properties such as geolocation or by weighted random
selection.
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
RRSetRoutingPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RRSetRoutingPolicy
clone()
RRSetRoutingPolicyGeoPolicy
getGeo()
String
getHealthCheck()
The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy.
String
getKind()
RRSetRoutingPolicyPrimaryBackupPolicy
getPrimaryBackup()
RRSetRoutingPolicyWrrPolicy
getWrr()
RRSetRoutingPolicy
set(String fieldName,
Object value)
RRSetRoutingPolicy
setGeo(RRSetRoutingPolicyGeoPolicy geo)
RRSetRoutingPolicy
setHealthCheck(String healthCheck)
The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy.
RRSetRoutingPolicy
setKind(String kind)
RRSetRoutingPolicy
setPrimaryBackup(RRSetRoutingPolicyPrimaryBackupPolicy primaryBackup)
RRSetRoutingPolicy
setWrr(RRSetRoutingPolicyWrrPolicy wrr)
-
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
-
getGeo
public RRSetRoutingPolicyGeoPolicy getGeo()
- Returns:
- value or
null
for none
-
setGeo
public RRSetRoutingPolicy setGeo(RRSetRoutingPolicyGeoPolicy geo)
- Parameters:
geo
- geo or null
for none
-
getHealthCheck
public String getHealthCheck()
The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy.
https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
- Returns:
- value or
null
for none
-
setHealthCheck
public RRSetRoutingPolicy setHealthCheck(String healthCheck)
The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy.
https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
- Parameters:
healthCheck
- healthCheck or null
for none
-
getKind
public String getKind()
- Returns:
- value or
null
for none
-
setKind
public RRSetRoutingPolicy setKind(String kind)
- Parameters:
kind
- kind or null
for none
-
getPrimaryBackup
public RRSetRoutingPolicyPrimaryBackupPolicy getPrimaryBackup()
- Returns:
- value or
null
for none
-
setPrimaryBackup
public RRSetRoutingPolicy setPrimaryBackup(RRSetRoutingPolicyPrimaryBackupPolicy primaryBackup)
- Parameters:
primaryBackup
- primaryBackup or null
for none
-
getWrr
public RRSetRoutingPolicyWrrPolicy getWrr()
- Returns:
- value or
null
for none
-
setWrr
public RRSetRoutingPolicy setWrr(RRSetRoutingPolicyWrrPolicy wrr)
- Parameters:
wrr
- wrr or null
for none
-
set
public RRSetRoutingPolicy set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public RRSetRoutingPolicy 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