public final class NodeConfig
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 Google Container Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
NodeConfig() |
| Modifier and Type | Method and Description |
|---|---|
NodeConfig |
clone() |
java.lang.Integer |
getDiskSizeGb()
Size of the disk attached to each node, specified in GB.
|
java.lang.String |
getMachineType()
The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g.
|
java.util.List<java.lang.String> |
getOauthScopes()
The set of Google API scopes to be made available on all of the node VMs under the "default"
service account.
|
NodeConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
NodeConfig |
setDiskSizeGb(java.lang.Integer diskSizeGb)
Size of the disk attached to each node, specified in GB.
|
NodeConfig |
setMachineType(java.lang.String machineType)
The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g.
|
NodeConfig |
setOauthScopes(java.util.List<java.lang.String> oauthScopes)
The set of Google API scopes to be made available on all of the node VMs under the "default"
service account.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Integer getDiskSizeGb()
null for nonepublic NodeConfig setDiskSizeGb(java.lang.Integer diskSizeGb)
diskSizeGb - diskSizeGb or null for nonepublic java.lang.String getMachineType()
null for nonepublic NodeConfig setMachineType(java.lang.String machineType)
machineType - machineType or null for nonepublic java.util.List<java.lang.String> getOauthScopes()
null for nonepublic NodeConfig setOauthScopes(java.util.List<java.lang.String> oauthScopes)
oauthScopes - oauthScopes or null for nonepublic NodeConfig set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic NodeConfig clone()
clone in class com.google.api.client.json.GenericJson