target.apidocs.com.google.api.services.dns.model.PolicyAlternativeNameServerConfigTargetNameServer.html Maven / Gradle / Ivy
PolicyAlternativeNameServerConfigTargetNameServer (Cloud DNS API v1-rev20240118-2.0.0)
com.google.api.services.dns.model
Class PolicyAlternativeNameServerConfigTargetNameServer
- 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.PolicyAlternativeNameServerConfigTargetNameServer
-
public final class PolicyAlternativeNameServerConfigTargetNameServer
extends com.google.api.client.json.GenericJson
Model definition for PolicyAlternativeNameServerConfigTargetNameServer.
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
PolicyAlternativeNameServerConfigTargetNameServer()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PolicyAlternativeNameServerConfigTargetNameServer
clone()
String
getForwardingPath()
Forwarding path for this TargetNameServer.
String
getIpv4Address()
IPv4 address to forward queries to.
String
getIpv6Address()
IPv6 address to forward to.
String
getKind()
PolicyAlternativeNameServerConfigTargetNameServer
set(String fieldName,
Object value)
PolicyAlternativeNameServerConfigTargetNameServer
setForwardingPath(String forwardingPath)
Forwarding path for this TargetNameServer.
PolicyAlternativeNameServerConfigTargetNameServer
setIpv4Address(String ipv4Address)
IPv4 address to forward queries to.
PolicyAlternativeNameServerConfigTargetNameServer
setIpv6Address(String ipv6Address)
IPv6 address to forward to.
PolicyAlternativeNameServerConfigTargetNameServer
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
-
-
Constructor Detail
-
PolicyAlternativeNameServerConfigTargetNameServer
public PolicyAlternativeNameServerConfigTargetNameServer()
-
Method Detail
-
getForwardingPath
public String getForwardingPath()
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes
forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network,
non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries
through the VPC network for this target.
- Returns:
- value or
null
for none
-
setForwardingPath
public PolicyAlternativeNameServerConfigTargetNameServer setForwardingPath(String forwardingPath)
Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes
forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network,
non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries
through the VPC network for this target.
- Parameters:
forwardingPath
- forwardingPath or null
for none
-
getIpv4Address
public String getIpv4Address()
IPv4 address to forward queries to.
- Returns:
- value or
null
for none
-
setIpv4Address
public PolicyAlternativeNameServerConfigTargetNameServer setIpv4Address(String ipv4Address)
IPv4 address to forward queries to.
- Parameters:
ipv4Address
- ipv4Address or null
for none
-
getIpv6Address
public String getIpv6Address()
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public
preview as of November 2022.
- Returns:
- value or
null
for none
-
setIpv6Address
public PolicyAlternativeNameServerConfigTargetNameServer setIpv6Address(String ipv6Address)
IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public
preview as of November 2022.
- Parameters:
ipv6Address
- ipv6Address or null
for none
-
getKind
public String getKind()
- Returns:
- value or
null
for none
-
setKind
public PolicyAlternativeNameServerConfigTargetNameServer setKind(String kind)
- Parameters:
kind
- kind or null
for none
-
set
public PolicyAlternativeNameServerConfigTargetNameServer set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public PolicyAlternativeNameServerConfigTargetNameServer 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