public final class GkeNodeConfig
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 Cloud Dataproc API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GkeNodeConfig() |
| Modifier and Type | Method and Description |
|---|---|
GkeNodeConfig |
clone() |
List<GkeNodePoolAcceleratorConfig> |
getAccelerators()
Optional.
|
String |
getBootDiskKmsKey()
Optional.
|
Integer |
getLocalSsdCount()
Optional.
|
String |
getMachineType()
Optional.
|
String |
getMinCpuPlatform()
Optional.
|
Boolean |
getPreemptible()
Optional.
|
Boolean |
getSpot()
Optional.
|
GkeNodeConfig |
set(String fieldName,
Object value) |
GkeNodeConfig |
setAccelerators(List<GkeNodePoolAcceleratorConfig> accelerators)
Optional.
|
GkeNodeConfig |
setBootDiskKmsKey(String bootDiskKmsKey)
Optional.
|
GkeNodeConfig |
setLocalSsdCount(Integer localSsdCount)
Optional.
|
GkeNodeConfig |
setMachineType(String machineType)
Optional.
|
GkeNodeConfig |
setMinCpuPlatform(String minCpuPlatform)
Optional.
|
GkeNodeConfig |
setPreemptible(Boolean preemptible)
Optional.
|
GkeNodeConfig |
setSpot(Boolean spot)
Optional.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<GkeNodePoolAcceleratorConfig> getAccelerators()
null for nonepublic GkeNodeConfig setAccelerators(List<GkeNodePoolAcceleratorConfig> accelerators)
accelerators - accelerators or null for nonepublic String getBootDiskKmsKey()
null for nonepublic GkeNodeConfig setBootDiskKmsKey(String bootDiskKmsKey)
bootDiskKmsKey - bootDiskKmsKey or null for nonepublic Integer getLocalSsdCount()
null for nonepublic GkeNodeConfig setLocalSsdCount(Integer localSsdCount)
localSsdCount - localSsdCount or null for nonepublic String getMachineType()
null for nonepublic GkeNodeConfig setMachineType(String machineType)
machineType - machineType or null for nonepublic String getMinCpuPlatform()
null for nonepublic GkeNodeConfig setMinCpuPlatform(String minCpuPlatform)
minCpuPlatform - minCpuPlatform or null for nonepublic Boolean getPreemptible()
null for nonepublic GkeNodeConfig setPreemptible(Boolean preemptible)
preemptible - preemptible or null for nonepublic Boolean getSpot()
null for nonepublic GkeNodeConfig setSpot(Boolean spot)
spot - spot or null for nonepublic GkeNodeConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GkeNodeConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.