public final class MaintenancePolicy
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 Kubernetes Engine 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 |
---|
MaintenancePolicy() |
Modifier and Type | Method and Description |
---|---|
MaintenancePolicy |
clone() |
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
MaintenancePolicy |
setResourceVersion(java.lang.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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getResourceVersion()
null
for nonepublic MaintenancePolicy setResourceVersion(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public MaintenancePolicy clone()
clone
in class com.google.api.client.json.GenericJson