public final class NodeGroup
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 |
|---|
NodeGroup() |
| Modifier and Type | Method and Description |
|---|---|
NodeGroup |
clone() |
NodeGroupAutoscalingPolicy |
getAutoscalingPolicy() |
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
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.String |
getManagedHoldback() |
java.lang.String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
java.lang.String |
getNodeTemplate()
The URL of the node template to which this node group belongs.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
java.lang.Integer |
getSize()
[Output Only] The total number of nodes in the node group.
|
java.lang.String |
getStatus() |
java.lang.String |
getZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
|
NodeGroup |
set(java.lang.String fieldName,
java.lang.Object value) |
NodeGroup |
setAutoscalingPolicy(NodeGroupAutoscalingPolicy autoscalingPolicy) |
NodeGroup |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
NodeGroup |
setDescription(java.lang.String description)
An optional description of this resource.
|
NodeGroup |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
NodeGroup |
setKind(java.lang.String kind)
[Output Only] The type of the resource.
|
NodeGroup |
setManagedHoldback(java.lang.String managedHoldback) |
NodeGroup |
setName(java.lang.String name)
The name of the resource, provided by the client when initially creating the resource.
|
NodeGroup |
setNodeTemplate(java.lang.String nodeTemplate)
The URL of the node template to which this node group belongs.
|
NodeGroup |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
NodeGroup |
setSelfLinkWithId(java.lang.String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id.
|
NodeGroup |
setSize(java.lang.Integer size)
[Output Only] The total number of nodes in the node group.
|
NodeGroup |
setStatus(java.lang.String status) |
NodeGroup |
setZone(java.lang.String zone)
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic NodeGroupAutoscalingPolicy getAutoscalingPolicy()
null for nonepublic NodeGroup setAutoscalingPolicy(NodeGroupAutoscalingPolicy autoscalingPolicy)
autoscalingPolicy - autoscalingPolicy or null for nonepublic java.lang.String getCreationTimestamp()
null for nonepublic NodeGroup setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic NodeGroup setDescription(java.lang.String description)
description - description or null for nonepublic java.math.BigInteger getId()
null for nonepublic NodeGroup setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic NodeGroup setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getManagedHoldback()
null for nonepublic NodeGroup setManagedHoldback(java.lang.String managedHoldback)
managedHoldback - managedHoldback or null for nonepublic java.lang.String getName()
null for nonepublic NodeGroup setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getNodeTemplate()
null for nonepublic NodeGroup setNodeTemplate(java.lang.String nodeTemplate)
nodeTemplate - nodeTemplate or null for nonepublic java.lang.String getSelfLink()
null for nonepublic NodeGroup setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getSelfLinkWithId()
null for nonepublic NodeGroup setSelfLinkWithId(java.lang.String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic java.lang.Integer getSize()
null for nonepublic NodeGroup setSize(java.lang.Integer size)
size - size or null for nonepublic java.lang.String getStatus()
null for nonepublic NodeGroup setStatus(java.lang.String status)
status - status or null for nonepublic java.lang.String getZone()
null for nonepublic NodeGroup setZone(java.lang.String zone)
zone - zone or null for nonepublic NodeGroup set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic NodeGroup clone()
clone in class com.google.api.client.json.GenericJson