public final class WorkerPool 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 dataflow. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
WorkerPool() |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public AutoscalingSettings getAutoscalingSettings()
null
for nonepublic WorkerPool setAutoscalingSettings(AutoscalingSettings autoscalingSettings)
autoscalingSettings
- autoscalingSettings or null
for nonepublic WorkerPool setDataDisks(List<Disk> dataDisks)
dataDisks
- dataDisks or null
for nonepublic String getDefaultPackageSet()
null
for nonepublic WorkerPool setDefaultPackageSet(String defaultPackageSet)
defaultPackageSet
- defaultPackageSet or null
for nonepublic Integer getDiskSizeGb()
null
for nonepublic WorkerPool setDiskSizeGb(Integer diskSizeGb)
diskSizeGb
- diskSizeGb or null
for nonepublic String getDiskSourceImage()
null
for nonepublic WorkerPool setDiskSourceImage(String diskSourceImage)
diskSourceImage
- diskSourceImage or null
for nonepublic String getKind()
null
for nonepublic WorkerPool setKind(String kind)
kind
- kind or null
for nonepublic String getMachineType()
null
for nonepublic WorkerPool setMachineType(String machineType)
machineType
- machineType or null
for nonepublic WorkerPool setMetadata(Map<String,String> metadata)
metadata
- metadata or null
for nonepublic Integer getNumWorkers()
null
for nonepublic WorkerPool setNumWorkers(Integer numWorkers)
numWorkers
- numWorkers or null
for nonepublic String getOnHostMaintenance()
null
for nonepublic WorkerPool setOnHostMaintenance(String onHostMaintenance)
onHostMaintenance
- onHostMaintenance or null
for nonepublic List<DataflowPackage> getPackages()
null
for nonepublic WorkerPool setPackages(List<DataflowPackage> packages)
packages
- packages or null
for nonepublic TaskRunnerSettings getTaskrunnerSettings()
null
for nonepublic WorkerPool setTaskrunnerSettings(TaskRunnerSettings taskrunnerSettings)
taskrunnerSettings
- taskrunnerSettings or null
for nonepublic String getTeardownPolicy()
null
for nonepublic WorkerPool setTeardownPolicy(String teardownPolicy)
teardownPolicy
- teardownPolicy or null
for nonepublic String getZone()
null
for nonepublic WorkerPool setZone(String zone)
zone
- zone or null
for nonepublic WorkerPool set(String fieldName, Object value)
set
in class GenericJson
public WorkerPool clone()
clone
in class GenericJson