public final class MaintenancePolicy 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 Kubernetes Engine 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 |
|---|
MaintenancePolicy() |
| Modifier and Type | Method and Description |
|---|---|
MaintenancePolicy |
clone() |
String |
getResourceVersion()
A hash identifying the version of this policy, so that updates to fields of the policy won't
accidentally undo intermediate changes (and so that users of the API unaware of some fields
won't accidentally remove other fields).
|
MaintenanceWindow |
getWindow()
Specifies the maintenance window in which maintenance may be performed.
|
MaintenancePolicy |
set(String fieldName,
Object value) |
MaintenancePolicy |
setResourceVersion(String resourceVersion)
A hash identifying the version of this policy, so that updates to fields of the policy won't
accidentally undo intermediate changes (and so that users of the API unaware of some fields
won't accidentally remove other fields).
|
MaintenancePolicy |
setWindow(MaintenanceWindow window)
Specifies the maintenance window in which maintenance may be performed.
|
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 getResourceVersion()
null for nonepublic MaintenancePolicy setResourceVersion(String resourceVersion)
resourceVersion - resourceVersion or null for nonepublic MaintenanceWindow getWindow()
null for nonepublic MaintenancePolicy setWindow(MaintenanceWindow window)
window - window or null for nonepublic MaintenancePolicy set(String fieldName, Object value)
set in class GenericJsonpublic MaintenancePolicy clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.