public final class NodeGroupAutoscalingPolicy 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 Compute 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 | 
|---|
| NodeGroupAutoscalingPolicy() | 
| Modifier and Type | Method and Description | 
|---|---|
| NodeGroupAutoscalingPolicy | clone() | 
| Integer | getMaxNodes()The maximum number of nodes that the group should have. | 
| Integer | getMinNodes()The minimum number of nodes that the group should have. | 
| String | getMode()The autoscaling mode. | 
| NodeGroupAutoscalingPolicy | set(String fieldName,
   Object value) | 
| NodeGroupAutoscalingPolicy | setMaxNodes(Integer maxNodes)The maximum number of nodes that the group should have. | 
| NodeGroupAutoscalingPolicy | setMinNodes(Integer minNodes)The minimum number of nodes that the group should have. | 
| NodeGroupAutoscalingPolicy | setMode(String mode)The autoscaling mode. | 
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 Integer getMaxNodes()
null for nonepublic NodeGroupAutoscalingPolicy setMaxNodes(Integer maxNodes)
maxNodes - maxNodes or null for nonepublic Integer getMinNodes()
null for nonepublic NodeGroupAutoscalingPolicy setMinNodes(Integer minNodes)
minNodes - minNodes or null for nonepublic String getMode()
null for nonepublic NodeGroupAutoscalingPolicy setMode(String mode)
mode - mode or null for nonepublic NodeGroupAutoscalingPolicy set(String fieldName, Object value)
set in class GenericJsonpublic NodeGroupAutoscalingPolicy clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.