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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
NodeGroup() |
Modifier and Type | Method and Description |
---|---|
NodeGroup |
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.
|
String |
getNodeTemplate()
The URL of the node template to which this node group belongs.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
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 |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
NodeGroup |
setDescription(String description)
An optional description of this resource.
|
NodeGroup |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
NodeGroup |
setKind(String kind)
[Output Only] The type of the resource.
|
NodeGroup |
setName(String name)
The name of the resource, provided by the client when initially creating the resource.
|
NodeGroup |
setNodeTemplate(String nodeTemplate)
The URL of the node template to which this node group belongs.
|
NodeGroup |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 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 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 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 GenericJson
public NodeGroup clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.