public final class NodeTemplate 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 |
|---|
NodeTemplate() |
| Modifier and Type | Method and Description |
|---|---|
NodeTemplate |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] The type of the resource.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
Map<String,String> |
getNodeAffinityLabels()
Labels to use for node affinity, which will be used in instance scheduling.
|
String |
getNodeType()
The node type to use for nodes group that are created from this template.
|
NodeTemplateNodeTypeFlexibility |
getNodeTypeFlexibility()
The flexible properties of the desired node type.
|
String |
getRegion()
[Output Only] The name of the region where the node template resides, such as us-central1.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
ServerBinding |
getServerBinding()
Sets the binding properties for the physical server.
|
String |
getStatus()
[Output Only] The status of the node template.
|
String |
getStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
NodeTemplate |
set(String fieldName,
Object value) |
NodeTemplate |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
NodeTemplate |
setDescription(String description)
An optional description of this resource.
|
NodeTemplate |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
NodeTemplate |
setKind(String kind)
[Output Only] The type of the resource.
|
NodeTemplate |
setName(String name)
The name of the resource, provided by the client when initially creating the resource.
|
NodeTemplate |
setNodeAffinityLabels(Map<String,String> nodeAffinityLabels)
Labels to use for node affinity, which will be used in instance scheduling.
|
NodeTemplate |
setNodeType(String nodeType)
The node type to use for nodes group that are created from this template.
|
NodeTemplate |
setNodeTypeFlexibility(NodeTemplateNodeTypeFlexibility nodeTypeFlexibility)
The flexible properties of the desired node type.
|
NodeTemplate |
setRegion(String region)
[Output Only] The name of the region where the node template resides, such as us-central1.
|
NodeTemplate |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
NodeTemplate |
setServerBinding(ServerBinding serverBinding)
Sets the binding properties for the physical server.
|
NodeTemplate |
setStatus(String status)
[Output Only] The status of the node template.
|
NodeTemplate |
setStatusMessage(String statusMessage)
[Output Only] An optional, human-readable explanation of the status.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCreationTimestamp()
null for nonepublic NodeTemplate setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic NodeTemplate setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic NodeTemplate setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic NodeTemplate setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic NodeTemplate setName(String name)
name - name or null for nonepublic Map<String,String> getNodeAffinityLabels()
null for nonepublic NodeTemplate setNodeAffinityLabels(Map<String,String> nodeAffinityLabels)
nodeAffinityLabels - nodeAffinityLabels or null for nonepublic String getNodeType()
null for nonepublic NodeTemplate setNodeType(String nodeType)
nodeType - nodeType or null for nonepublic NodeTemplateNodeTypeFlexibility getNodeTypeFlexibility()
null for nonepublic NodeTemplate setNodeTypeFlexibility(NodeTemplateNodeTypeFlexibility nodeTypeFlexibility)
nodeTypeFlexibility - nodeTypeFlexibility or null for nonepublic String getRegion()
null for nonepublic NodeTemplate setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic NodeTemplate setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic ServerBinding getServerBinding()
null for nonepublic NodeTemplate setServerBinding(ServerBinding serverBinding)
serverBinding - serverBinding or null for nonepublic String getStatus()
null for nonepublic NodeTemplate setStatus(String status)
status - status or null for nonepublic String getStatusMessage()
null for nonepublic NodeTemplate setStatusMessage(String statusMessage)
statusMessage - statusMessage or null for nonepublic NodeTemplate set(String fieldName, Object value)
set in class GenericJsonpublic NodeTemplate clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.