public final class ResourceRecordSet
extends com.google.api.client.json.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 Google Cloud DNS API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
ResourceRecordSet() |
| Modifier and Type | Method and Description |
|---|---|
ResourceRecordSet |
clone() |
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
java.lang.String |
getName()
For example, www.example.com.
|
java.util.List<java.lang.String> |
getRrdatas()
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
|
java.lang.Integer |
getTtl()
Number of seconds that this ResourceRecordSet can be cached by resolvers.
|
java.lang.String |
getType()
The identifier of a supported record type, for example, A, AAAA, MX, TXT, and so on.
|
ResourceRecordSet |
set(java.lang.String fieldName,
java.lang.Object value) |
ResourceRecordSet |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
ResourceRecordSet |
setName(java.lang.String name)
For example, www.example.com.
|
ResourceRecordSet |
setRrdatas(java.util.List<java.lang.String> rrdatas)
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).
|
ResourceRecordSet |
setTtl(java.lang.Integer ttl)
Number of seconds that this ResourceRecordSet can be cached by resolvers.
|
ResourceRecordSet |
setType(java.lang.String type)
The identifier of a supported record type, for example, A, AAAA, MX, TXT, and so on.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getKind()
null for nonepublic ResourceRecordSet setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic ResourceRecordSet setName(java.lang.String name)
name - name or null for nonepublic java.util.List<java.lang.String> getRrdatas()
null for nonepublic ResourceRecordSet setRrdatas(java.util.List<java.lang.String> rrdatas)
rrdatas - rrdatas or null for nonepublic java.lang.Integer getTtl()
null for nonepublic ResourceRecordSet setTtl(java.lang.Integer ttl)
ttl - ttl or null for nonepublic java.lang.String getType()
null for nonepublic ResourceRecordSet setType(java.lang.String type)
type - type or null for nonepublic ResourceRecordSet set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ResourceRecordSet clone()
clone in class com.google.api.client.json.GenericJson