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() |
String |
getMachineType()
The name of a Google Compute Engine machine type (e.g.
|
List<ServiceAccount> |
getServiceAccounts()
The optional list of ServiceAccounts, each with their specified scopes, to be made available on
all of the node VMs.
|
String |
getSourceImage()
The fully-specified name of a Google Compute Engine image.
|
NodeConfig |
set(String fieldName,
Object value) |
NodeConfig |
setMachineType(String machineType)
The name of a Google Compute Engine machine type (e.g.
|
NodeConfig |
setServiceAccounts(List<ServiceAccount> serviceAccounts)
The optional list of ServiceAccounts, each with their specified scopes, to be made available on
all of the node VMs.
|
NodeConfig |
setSourceImage(String sourceImage)
The fully-specified name of a Google Compute Engine image.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getMachineType()
null for nonepublic NodeConfig setMachineType(String machineType)
machineType - machineType or null for nonepublic List<ServiceAccount> getServiceAccounts()
null for nonepublic NodeConfig setServiceAccounts(List<ServiceAccount> serviceAccounts)
serviceAccounts - serviceAccounts or null for nonepublic String getSourceImage()
null for nonepublic NodeConfig setSourceImage(String sourceImage)
sourceImage - sourceImage or null for nonepublic NodeConfig set(String fieldName, Object value)
set in class GenericJsonpublic NodeConfig clone()
clone in class GenericJson