public final class ConfigChange 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 Service Management 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 |
|---|
ConfigChange() |
| Modifier and Type | Method and Description |
|---|---|
ConfigChange |
clone() |
List<Advice> |
getAdvices()
Collection of advice provided for this change, useful for determining the possible impact of
this change.
|
String |
getChangeType()
The type for this change, either ADDED, REMOVED, or MODIFIED.
|
String |
getElement()
Object hierarchy path to the change, with levels separated by a '.' character.
|
String |
getNewValue()
Value of the changed object in the new Service configuration, in JSON format.
|
String |
getOldValue()
Value of the changed object in the old Service configuration, in JSON format.
|
ConfigChange |
set(String fieldName,
Object value) |
ConfigChange |
setAdvices(List<Advice> advices)
Collection of advice provided for this change, useful for determining the possible impact of
this change.
|
ConfigChange |
setChangeType(String changeType)
The type for this change, either ADDED, REMOVED, or MODIFIED.
|
ConfigChange |
setElement(String element)
Object hierarchy path to the change, with levels separated by a '.' character.
|
ConfigChange |
setNewValue(String newValue)
Value of the changed object in the new Service configuration, in JSON format.
|
ConfigChange |
setOldValue(String oldValue)
Value of the changed object in the old Service configuration, in JSON format.
|
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 List<Advice> getAdvices()
null for nonepublic ConfigChange setAdvices(List<Advice> advices)
advices - advices or null for nonepublic String getChangeType()
null for nonepublic ConfigChange setChangeType(String changeType)
changeType - changeType or null for nonepublic String getElement()
null for nonepublic ConfigChange setElement(String element)
element - element or null for nonepublic String getNewValue()
null for nonepublic ConfigChange setNewValue(String newValue)
newValue - newValue or null for nonepublic String getOldValue()
null for nonepublic ConfigChange setOldValue(String oldValue)
oldValue - oldValue or null for nonepublic ConfigChange set(String fieldName, Object value)
set in class GenericJsonpublic ConfigChange clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.