public final class NodeConfig 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 Google Container Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NodeConfig() |
| Modifier and Type | Method and Description |
|---|---|
NodeConfig |
clone() |
Integer |
getDiskSizeGb()
Size of the disk attached to each node, specified in GB.
|
String |
getMachineType()
The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g.
|
List<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(String fieldName,
Object value) |
NodeConfig |
setDiskSizeGb(Integer diskSizeGb)
Size of the disk attached to each node, specified in GB.
|
NodeConfig |
setMachineType(String machineType)
The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g.
|
NodeConfig |
setOauthScopes(List<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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic Integer getDiskSizeGb()
null for nonepublic NodeConfig setDiskSizeGb(Integer diskSizeGb)
diskSizeGb - diskSizeGb or null for nonepublic String getMachineType()
null for nonepublic NodeConfig setMachineType(String machineType)
machineType - machineType or null for nonepublic List<String> getOauthScopes()
null for nonepublic NodeConfig setOauthScopes(List<String> oauthScopes)
oauthScopes - oauthScopes or null for nonepublic NodeConfig set(String fieldName, Object value)
set in class GenericJsonpublic NodeConfig clone()
clone in class GenericJson