public final class NodePool 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 |
|---|
NodePool() |
| Modifier and Type | Method and Description |
|---|---|
NodePool |
clone() |
NodePoolAutoscaling |
getAutoscaling()
Autoscaler configuration for this NodePool.
|
List<StatusCondition> |
getConditions()
Which conditions caused the current node pool state.
|
NodeConfig |
getConfig()
The node configuration of the pool.
|
Integer |
getInitialNodeCount()
The initial node count for the pool.
|
List<String> |
getInstanceGroupUrls()
[Output only] The resource URLs of the [managed instance groups](/compute/docs/instance-groups
/creating-groups-of-managed-instances) associated with this node pool.
|
List<String> |
getLocations()
The list of Google Compute Engine [zones](/compute/docs/zones#available) in which the
NodePool's nodes should be located.
|
NodeManagement |
getManagement()
NodeManagement configuration for this NodePool.
|
MaxPodsConstraint |
getMaxPodsConstraint()
The constraint on the maximum number of pods that can be run simultaneously on a node in the
node pool.
|
String |
getName()
The name of the node pool.
|
Integer |
getPodIpv4CidrSize()
[Output only] The pod CIDR block size per node in this node pool.
|
String |
getSelfLink()
[Output only] Server-defined URL for the resource.
|
String |
getStatus()
[Output only] The status of the nodes in this pool instance.
|
String |
getStatusMessage()
[Output only] Additional information about the current status of this node pool instance, if
available.
|
UpgradeSettings |
getUpgradeSettings()
Upgrade settings control disruption and speed of the upgrade.
|
String |
getVersion()
The version of the Kubernetes of this node.
|
NodePool |
set(String fieldName,
Object value) |
NodePool |
setAutoscaling(NodePoolAutoscaling autoscaling)
Autoscaler configuration for this NodePool.
|
NodePool |
setConditions(List<StatusCondition> conditions)
Which conditions caused the current node pool state.
|
NodePool |
setConfig(NodeConfig config)
The node configuration of the pool.
|
NodePool |
setInitialNodeCount(Integer initialNodeCount)
The initial node count for the pool.
|
NodePool |
setInstanceGroupUrls(List<String> instanceGroupUrls)
[Output only] The resource URLs of the [managed instance groups](/compute/docs/instance-groups
/creating-groups-of-managed-instances) associated with this node pool.
|
NodePool |
setLocations(List<String> locations)
The list of Google Compute Engine [zones](/compute/docs/zones#available) in which the
NodePool's nodes should be located.
|
NodePool |
setManagement(NodeManagement management)
NodeManagement configuration for this NodePool.
|
NodePool |
setMaxPodsConstraint(MaxPodsConstraint maxPodsConstraint)
The constraint on the maximum number of pods that can be run simultaneously on a node in the
node pool.
|
NodePool |
setName(String name)
The name of the node pool.
|
NodePool |
setPodIpv4CidrSize(Integer podIpv4CidrSize)
[Output only] The pod CIDR block size per node in this node pool.
|
NodePool |
setSelfLink(String selfLink)
[Output only] Server-defined URL for the resource.
|
NodePool |
setStatus(String status)
[Output only] The status of the nodes in this pool instance.
|
NodePool |
setStatusMessage(String statusMessage)
[Output only] Additional information about the current status of this node pool instance, if
available.
|
NodePool |
setUpgradeSettings(UpgradeSettings upgradeSettings)
Upgrade settings control disruption and speed of the upgrade.
|
NodePool |
setVersion(String version)
The version of the Kubernetes of this node.
|
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 NodePoolAutoscaling getAutoscaling()
null for nonepublic NodePool setAutoscaling(NodePoolAutoscaling autoscaling)
autoscaling - autoscaling or null for nonepublic List<StatusCondition> getConditions()
null for nonepublic NodePool setConditions(List<StatusCondition> conditions)
conditions - conditions or null for nonepublic NodeConfig getConfig()
null for nonepublic NodePool setConfig(NodeConfig config)
config - config or null for nonepublic Integer getInitialNodeCount()
null for nonepublic NodePool setInitialNodeCount(Integer initialNodeCount)
initialNodeCount - initialNodeCount or null for nonepublic List<String> getInstanceGroupUrls()
null for nonepublic NodePool setInstanceGroupUrls(List<String> instanceGroupUrls)
instanceGroupUrls - instanceGroupUrls or null for nonepublic List<String> getLocations()
null for nonepublic NodePool setLocations(List<String> locations)
locations - locations or null for nonepublic NodeManagement getManagement()
null for nonepublic NodePool setManagement(NodeManagement management)
management - management or null for nonepublic MaxPodsConstraint getMaxPodsConstraint()
null for nonepublic NodePool setMaxPodsConstraint(MaxPodsConstraint maxPodsConstraint)
maxPodsConstraint - maxPodsConstraint or null for nonepublic String getName()
null for nonepublic NodePool setName(String name)
name - name or null for nonepublic Integer getPodIpv4CidrSize()
null for nonepublic NodePool setPodIpv4CidrSize(Integer podIpv4CidrSize)
podIpv4CidrSize - podIpv4CidrSize or null for nonepublic String getSelfLink()
null for nonepublic NodePool setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStatus()
null for nonepublic NodePool setStatus(String status)
status - status or null for nonepublic String getStatusMessage()
null for nonepublic NodePool setStatusMessage(String statusMessage)
statusMessage - statusMessage or null for nonepublic UpgradeSettings getUpgradeSettings()
null for nonepublic NodePool setUpgradeSettings(UpgradeSettings upgradeSettings)
upgradeSettings - upgradeSettings or null for nonepublic String getVersion()
null for nonepublic NodePool setVersion(String version)
version - version or null for nonepublic NodePool set(String fieldName, Object value)
set in class GenericJsonpublic NodePool clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.