public final class ResourceRecordSet extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ResourceRecordSet() |
| Modifier and Type | Method and Description |
|---|---|
ResourceRecordSet |
clone() |
String |
getKind() |
String |
getName()
For example, www.example.com.
|
RRSetRoutingPolicy |
getRoutingPolicy()
Configures dynamic query responses based on geo location of querying user or a weighted round
robin based routing policy.
|
List<String> |
getRrdatas()
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
|
List<String> |
getSignatureRrdatas()
As defined in RFC 4034 (section 3.2).
|
Integer |
getTtl()
Number of seconds that this ResourceRecordSet can be cached by resolvers.
|
String |
getType()
The identifier of a supported record type.
|
ResourceRecordSet |
set(String fieldName,
Object value) |
ResourceRecordSet |
setKind(String kind) |
ResourceRecordSet |
setName(String name)
For example, www.example.com.
|
ResourceRecordSet |
setRoutingPolicy(RRSetRoutingPolicy routingPolicy)
Configures dynamic query responses based on geo location of querying user or a weighted round
robin based routing policy.
|
ResourceRecordSet |
setRrdatas(List<String> rrdatas)
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
|
ResourceRecordSet |
setSignatureRrdatas(List<String> signatureRrdatas)
As defined in RFC 4034 (section 3.2).
|
ResourceRecordSet |
setTtl(Integer ttl)
Number of seconds that this ResourceRecordSet can be cached by resolvers.
|
ResourceRecordSet |
setType(String type)
The identifier of a supported record type.
|
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 String getKind()
null for nonepublic ResourceRecordSet setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic ResourceRecordSet setName(String name)
name - name or null for nonepublic RRSetRoutingPolicy getRoutingPolicy()
null for nonepublic ResourceRecordSet setRoutingPolicy(RRSetRoutingPolicy routingPolicy)
routingPolicy - routingPolicy or null for nonepublic List<String> getRrdatas()
null for nonepublic ResourceRecordSet setRrdatas(List<String> rrdatas)
rrdatas - rrdatas or null for nonepublic List<String> getSignatureRrdatas()
null for nonepublic ResourceRecordSet setSignatureRrdatas(List<String> signatureRrdatas)
signatureRrdatas - signatureRrdatas or null for nonepublic Integer getTtl()
null for nonepublic ResourceRecordSet setTtl(Integer ttl)
ttl - ttl or null for nonepublic String getType()
null for nonepublic ResourceRecordSet setType(String type)
type - type or null for nonepublic ResourceRecordSet set(String fieldName, Object value)
set in class GenericJsonpublic ResourceRecordSet clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.