public final class NodeGroup 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 | 
|---|
| NodeGroup() | 
| Modifier and Type | Method and Description | 
|---|---|
| NodeGroup | clone() | 
| byte[] | decodeFingerprint() | 
| NodeGroup | encodeFingerprint(byte[] fingerprint) | 
| NodeGroupAutoscalingPolicy | getAutoscalingPolicy()Specifies how autoscaling should behave. | 
| String | getCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format. | 
| String | getDescription()An optional description of this resource. | 
| String | getFingerprint() | 
| BigInteger | getId()[Output Only] The unique identifier for the resource. | 
| String | getKind()[Output Only] The type of the resource. | 
| String | getLocationHint()An opaque location hint used to place the Node close to other resources. | 
| String | getMaintenancePolicy()Specifies how to handle instances when a node in the group undergoes maintenance. | 
| NodeGroupMaintenanceWindow | getMaintenanceWindow() | 
| String | getName()The name of the resource, provided by the client when initially creating the resource. | 
| String | getNodeTemplate()URL of the node template to create the node group from. | 
| String | getSelfLink()[Output Only] Server-defined URL for the resource. | 
| ShareSettings | getShareSettings()Share-settings for the node group | 
| Integer | getSize()[Output Only] The total number of nodes in the node group. | 
| String | getStatus() | 
| String | getZone()[Output Only] The name of the zone where the node group resides, such as us-central1-a. | 
| NodeGroup | set(String fieldName,
   Object value) | 
| NodeGroup | setAutoscalingPolicy(NodeGroupAutoscalingPolicy autoscalingPolicy)Specifies how autoscaling should behave. | 
| NodeGroup | setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| NodeGroup | setDescription(String description)An optional description of this resource. | 
| NodeGroup | setFingerprint(String fingerprint) | 
| NodeGroup | setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| NodeGroup | setKind(String kind)[Output Only] The type of the resource. | 
| NodeGroup | setLocationHint(String locationHint)An opaque location hint used to place the Node close to other resources. | 
| NodeGroup | setMaintenancePolicy(String maintenancePolicy)Specifies how to handle instances when a node in the group undergoes maintenance. | 
| NodeGroup | setMaintenanceWindow(NodeGroupMaintenanceWindow maintenanceWindow) | 
| NodeGroup | setName(String name)The name of the resource, provided by the client when initially creating the resource. | 
| NodeGroup | setNodeTemplate(String nodeTemplate)URL of the node template to create the node group from. | 
| NodeGroup | setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| NodeGroup | setShareSettings(ShareSettings shareSettings)Share-settings for the node group | 
| NodeGroup | setSize(Integer size)[Output Only] The total number of nodes in the node group. | 
| NodeGroup | setStatus(String status) | 
| NodeGroup | setZone(String zone)[Output Only] The name of the zone where the node group resides, such as us-central1-a. | 
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 NodeGroupAutoscalingPolicy getAutoscalingPolicy()
null for nonepublic NodeGroup setAutoscalingPolicy(NodeGroupAutoscalingPolicy autoscalingPolicy)
autoscalingPolicy - autoscalingPolicy or null for nonepublic String getCreationTimestamp()
null for nonepublic NodeGroup setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic NodeGroup setDescription(String description)
description - description or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public NodeGroup setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public NodeGroup encodeFingerprint(byte[] fingerprint)
 The value is encoded Base64 or {@code null} for none.
 
public BigInteger getId()
null for nonepublic NodeGroup setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic NodeGroup setKind(String kind)
kind - kind or null for nonepublic String getLocationHint()
null for nonepublic NodeGroup setLocationHint(String locationHint)
locationHint - locationHint or null for nonepublic String getMaintenancePolicy()
null for nonepublic NodeGroup setMaintenancePolicy(String maintenancePolicy)
maintenancePolicy - maintenancePolicy or null for nonepublic NodeGroupMaintenanceWindow getMaintenanceWindow()
null for nonepublic NodeGroup setMaintenanceWindow(NodeGroupMaintenanceWindow maintenanceWindow)
maintenanceWindow - maintenanceWindow or null for nonepublic String getName()
null for nonepublic NodeGroup setName(String name)
name - name or null for nonepublic String getNodeTemplate()
null for nonepublic NodeGroup setNodeTemplate(String nodeTemplate)
nodeTemplate - nodeTemplate or null for nonepublic String getSelfLink()
null for nonepublic NodeGroup setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic ShareSettings getShareSettings()
null for nonepublic NodeGroup setShareSettings(ShareSettings shareSettings)
shareSettings - shareSettings or null for nonepublic Integer getSize()
null for nonepublic NodeGroup setSize(Integer size)
size - size or null for nonepublic String getStatus()
null for nonepublic String getZone()
null for nonepublic NodeGroup setZone(String zone)
zone - zone or null for nonepublic NodeGroup set(String fieldName, Object value)
set in class GenericJsonpublic NodeGroup clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.