public final class NodeType
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 Compute 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 |
|---|
NodeType() |
| Modifier and Type | Method and Description |
|---|---|
NodeType |
clone() |
String |
getCpuPlatform()
[Output Only] The CPU platform used by this node type.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp inRFC3339 text format.
|
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this node type.
|
String |
getDescription()
[Output Only] An optional textual description of the resource.
|
Integer |
getGuestCpus()
[Output Only] The number of virtual CPUs that are available to the node type.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] The type of the resource.
|
Integer |
getLocalSsdGb()
[Output Only] Local SSD available to the node type, defined in GB.
|
Integer |
getMaxVms()
[Output Only] Maximum number of VMs that can be created for this node type.
|
Integer |
getMemoryMb()
[Output Only] The amount of physical memory available to the node type, defined in MB.
|
String |
getName()
[Output Only] Name of the resource.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getZone()
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
|
NodeType |
set(String fieldName,
Object value) |
NodeType |
setCpuPlatform(String cpuPlatform)
[Output Only] The CPU platform used by this node type.
|
NodeType |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp inRFC3339 text format.
|
NodeType |
setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this node type.
|
NodeType |
setDescription(String description)
[Output Only] An optional textual description of the resource.
|
NodeType |
setGuestCpus(Integer guestCpus)
[Output Only] The number of virtual CPUs that are available to the node type.
|
NodeType |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
NodeType |
setKind(String kind)
[Output Only] The type of the resource.
|
NodeType |
setLocalSsdGb(Integer localSsdGb)
[Output Only] Local SSD available to the node type, defined in GB.
|
NodeType |
setMaxVms(Integer maxVms)
[Output Only] Maximum number of VMs that can be created for this node type.
|
NodeType |
setMemoryMb(Integer memoryMb)
[Output Only] The amount of physical memory available to the node type, defined in MB.
|
NodeType |
setName(String name)
[Output Only] Name of the resource.
|
NodeType |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
NodeType |
setZone(String zone)
[Output Only] The name of the zone where the node type 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 String getCpuPlatform()
null for nonepublic NodeType setCpuPlatform(String cpuPlatform)
cpuPlatform - cpuPlatform or null for nonepublic String getCreationTimestamp()
null for nonepublic NodeType setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic DeprecationStatus getDeprecated()
null for nonepublic NodeType setDeprecated(DeprecationStatus deprecated)
deprecated - deprecated or null for nonepublic String getDescription()
null for nonepublic NodeType setDescription(String description)
description - description or null for nonepublic Integer getGuestCpus()
null for nonepublic NodeType setGuestCpus(Integer guestCpus)
guestCpus - guestCpus or null for nonepublic BigInteger getId()
null for nonepublic NodeType setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic NodeType setKind(String kind)
kind - kind or null for nonepublic Integer getLocalSsdGb()
null for nonepublic NodeType setLocalSsdGb(Integer localSsdGb)
localSsdGb - localSsdGb or null for nonepublic Integer getMaxVms()
null for nonepublic NodeType setMaxVms(Integer maxVms)
maxVms - maxVms or null for nonepublic Integer getMemoryMb()
null for nonepublic NodeType setMemoryMb(Integer memoryMb)
memoryMb - memoryMb or null for nonepublic String getName()
null for nonepublic NodeType setName(String name)
name - name or null for nonepublic String getSelfLink()
null for nonepublic NodeType setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getZone()
null for nonepublic NodeType setZone(String zone)
zone - zone or null for nonepublic NodeType set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic NodeType clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.