public final class OpportunisticMaintenanceStrategy
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OpportunisticMaintenanceStrategy() |
| Modifier and Type | Method and Description |
|---|---|
OpportunisticMaintenanceStrategy |
clone() |
String |
getMaintenanceAvailabilityWindow()
The window of time that opportunistic maintenance can run.
|
Long |
getMinNodesPerPool()
The minimum nodes required to be available in a pool.
|
String |
getNodeIdleTimeWindow()
The amount of time that a node can remain idle (no customer owned workloads running), before
triggering maintenance.
|
OpportunisticMaintenanceStrategy |
set(String fieldName,
Object value) |
OpportunisticMaintenanceStrategy |
setMaintenanceAvailabilityWindow(String maintenanceAvailabilityWindow)
The window of time that opportunistic maintenance can run.
|
OpportunisticMaintenanceStrategy |
setMinNodesPerPool(Long minNodesPerPool)
The minimum nodes required to be available in a pool.
|
OpportunisticMaintenanceStrategy |
setNodeIdleTimeWindow(String nodeIdleTimeWindow)
The amount of time that a node can remain idle (no customer owned workloads running), before
triggering maintenance.
|
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 getMaintenanceAvailabilityWindow()
null for nonepublic OpportunisticMaintenanceStrategy setMaintenanceAvailabilityWindow(String maintenanceAvailabilityWindow)
maintenanceAvailabilityWindow - maintenanceAvailabilityWindow or null for nonepublic Long getMinNodesPerPool()
null for nonepublic OpportunisticMaintenanceStrategy setMinNodesPerPool(Long minNodesPerPool)
minNodesPerPool - minNodesPerPool or null for nonepublic String getNodeIdleTimeWindow()
null for nonepublic OpportunisticMaintenanceStrategy setNodeIdleTimeWindow(String nodeIdleTimeWindow)
nodeIdleTimeWindow - nodeIdleTimeWindow or null for nonepublic OpportunisticMaintenanceStrategy set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic OpportunisticMaintenanceStrategy clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.