public final class InstanceGroupConfig 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 Cloud Dataproc API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
InstanceGroupConfig() |
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<AcceleratorConfig> getAccelerators()
null
for nonepublic InstanceGroupConfig setAccelerators(List<AcceleratorConfig> accelerators)
accelerators
- accelerators or null
for nonepublic DiskConfig getDiskConfig()
null
for nonepublic InstanceGroupConfig setDiskConfig(DiskConfig diskConfig)
diskConfig
- diskConfig or null
for nonepublic String getImageUri()
null
for nonepublic InstanceGroupConfig setImageUri(String imageUri)
imageUri
- imageUri or null
for nonepublic List<String> getInstanceNames()
null
for nonepublic InstanceGroupConfig setInstanceNames(List<String> instanceNames)
instanceNames
- instanceNames or null
for nonepublic List<InstanceReference> getInstanceReferences()
null
for nonepublic InstanceGroupConfig setInstanceReferences(List<InstanceReference> instanceReferences)
instanceReferences
- instanceReferences or null
for nonepublic Boolean getIsPreemptible()
null
for nonepublic InstanceGroupConfig setIsPreemptible(Boolean isPreemptible)
isPreemptible
- isPreemptible or null
for nonepublic String getMachineTypeUri()
null
for nonepublic InstanceGroupConfig setMachineTypeUri(String machineTypeUri)
machineTypeUri
- machineTypeUri or null
for nonepublic ManagedGroupConfig getManagedGroupConfig()
null
for nonepublic InstanceGroupConfig setManagedGroupConfig(ManagedGroupConfig managedGroupConfig)
managedGroupConfig
- managedGroupConfig or null
for nonepublic String getMinCpuPlatform()
null
for nonepublic InstanceGroupConfig setMinCpuPlatform(String minCpuPlatform)
minCpuPlatform
- minCpuPlatform or null
for nonepublic Integer getNumInstances()
null
for nonepublic InstanceGroupConfig setNumInstances(Integer numInstances)
numInstances
- numInstances or null
for nonepublic String getPreemptibility()
null
for nonepublic InstanceGroupConfig setPreemptibility(String preemptibility)
preemptibility
- preemptibility or null
for nonepublic InstanceGroupConfig set(String fieldName, Object value)
set
in class GenericJson
public InstanceGroupConfig clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.