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.Flags
Constructor and Description |
---|
NodeType() |
Modifier and Type | Method and Description |
---|---|
NodeType |
clone() |
java.lang.String |
getCpuPlatform()
[Output Only] The CPU platform used by this node type.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this node type.
|
java.lang.String |
getDescription()
[Output Only] An optional textual description of the resource.
|
java.lang.Integer |
getGuestCpus()
[Output Only] The number of virtual CPUs that are available to the node type.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] The type of the resource.
|
java.lang.Integer |
getLocalSsdGb()
[Output Only] Local SSD available to the node type, defined in GB.
|
java.lang.Integer |
getMemoryMb()
[Output Only] The amount of physical memory available to the node type, defined in MB.
|
java.lang.String |
getName()
[Output Only] Name of the resource.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getZone()
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
|
NodeType |
set(java.lang.String fieldName,
java.lang.Object value) |
NodeType |
setCpuPlatform(java.lang.String cpuPlatform)
[Output Only] The CPU platform used by this node type.
|
NodeType |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
NodeType |
setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this node type.
|
NodeType |
setDescription(java.lang.String description)
[Output Only] An optional textual description of the resource.
|
NodeType |
setGuestCpus(java.lang.Integer guestCpus)
[Output Only] The number of virtual CPUs that are available to the node type.
|
NodeType |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
NodeType |
setKind(java.lang.String kind)
[Output Only] The type of the resource.
|
NodeType |
setLocalSsdGb(java.lang.Integer localSsdGb)
[Output Only] Local SSD available to the node type, defined in GB.
|
NodeType |
setMemoryMb(java.lang.Integer memoryMb)
[Output Only] The amount of physical memory available to the node type, defined in MB.
|
NodeType |
setName(java.lang.String name)
[Output Only] Name of the resource.
|
NodeType |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
NodeType |
setZone(java.lang.String zone)
[Output Only] The name of the zone where the node type resides, such as us-central1-a.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCpuPlatform()
null
for nonepublic NodeType setCpuPlatform(java.lang.String cpuPlatform)
cpuPlatform
- cpuPlatform or null
for nonepublic java.lang.String getCreationTimestamp()
null
for nonepublic NodeType setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic DeprecationStatus getDeprecated()
null
for nonepublic NodeType setDeprecated(DeprecationStatus deprecated)
deprecated
- deprecated or null
for nonepublic java.lang.String getDescription()
null
for nonepublic NodeType setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.Integer getGuestCpus()
null
for nonepublic NodeType setGuestCpus(java.lang.Integer guestCpus)
guestCpus
- guestCpus or null
for nonepublic java.math.BigInteger getId()
null
for nonepublic NodeType setId(java.math.BigInteger id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic NodeType setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.Integer getLocalSsdGb()
null
for nonepublic NodeType setLocalSsdGb(java.lang.Integer localSsdGb)
localSsdGb
- localSsdGb or null
for nonepublic java.lang.Integer getMemoryMb()
null
for nonepublic NodeType setMemoryMb(java.lang.Integer memoryMb)
memoryMb
- memoryMb or null
for nonepublic java.lang.String getName()
null
for nonepublic NodeType setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic NodeType setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.lang.String getZone()
null
for nonepublic NodeType setZone(java.lang.String zone)
zone
- zone or null
for nonepublic NodeType set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public NodeType clone()
clone
in class com.google.api.client.json.GenericJson