public final class ResponsePolicyRule 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 |
|---|
ResponsePolicyRule() |
| Modifier and Type | Method and Description |
|---|---|
ResponsePolicyRule |
clone() |
String |
getBehavior()
Answer this query with a behavior rather than DNS data.
|
String |
getDnsName()
The DNS name (wildcard or exact) to apply this rule to.
|
String |
getKind() |
ResponsePolicyRuleLocalData |
getLocalData()
Answer this query directly with DNS data.
|
String |
getRuleName()
An identifier for this rule.
|
ResponsePolicyRule |
set(String fieldName,
Object value) |
ResponsePolicyRule |
setBehavior(String behavior)
Answer this query with a behavior rather than DNS data.
|
ResponsePolicyRule |
setDnsName(String dnsName)
The DNS name (wildcard or exact) to apply this rule to.
|
ResponsePolicyRule |
setKind(String kind) |
ResponsePolicyRule |
setLocalData(ResponsePolicyRuleLocalData localData)
Answer this query directly with DNS data.
|
ResponsePolicyRule |
setRuleName(String ruleName)
An identifier for this rule.
|
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 getBehavior()
null for nonepublic ResponsePolicyRule setBehavior(String behavior)
behavior - behavior or null for nonepublic String getDnsName()
null for nonepublic ResponsePolicyRule setDnsName(String dnsName)
dnsName - dnsName or null for nonepublic String getKind()
null for nonepublic ResponsePolicyRule setKind(String kind)
kind - kind or null for nonepublic ResponsePolicyRuleLocalData getLocalData()
null for nonepublic ResponsePolicyRule setLocalData(ResponsePolicyRuleLocalData localData)
localData - localData or null for nonepublic String getRuleName()
null for nonepublic ResponsePolicyRule setRuleName(String ruleName)
ruleName - ruleName or null for nonepublic ResponsePolicyRule set(String fieldName, Object value)
set in class GenericJsonpublic ResponsePolicyRule clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.