public final class SwapConfig
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 Kubernetes Engine 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 |
|---|
SwapConfig() |
| Modifier and Type | Method and Description |
|---|---|
SwapConfig |
clone() |
BootDiskProfile |
getBootDiskProfile()
Swap on the node's boot disk.
|
DedicatedLocalSsdProfile |
getDedicatedLocalSsdProfile()
Provisions a new, separate local NVMe SSD exclusively for swap.
|
Boolean |
getEnabled()
Optional.
|
EncryptionConfig |
getEncryptionConfig()
Optional.
|
EphemeralLocalSsdProfile |
getEphemeralLocalSsdProfile()
Swap on the local SSD shared with pod ephemeral storage.
|
SwapConfig |
set(String fieldName,
Object value) |
SwapConfig |
setBootDiskProfile(BootDiskProfile bootDiskProfile)
Swap on the node's boot disk.
|
SwapConfig |
setDedicatedLocalSsdProfile(DedicatedLocalSsdProfile dedicatedLocalSsdProfile)
Provisions a new, separate local NVMe SSD exclusively for swap.
|
SwapConfig |
setEnabled(Boolean enabled)
Optional.
|
SwapConfig |
setEncryptionConfig(EncryptionConfig encryptionConfig)
Optional.
|
SwapConfig |
setEphemeralLocalSsdProfile(EphemeralLocalSsdProfile ephemeralLocalSsdProfile)
Swap on the local SSD shared with pod ephemeral storage.
|
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 BootDiskProfile getBootDiskProfile()
null for nonepublic SwapConfig setBootDiskProfile(BootDiskProfile bootDiskProfile)
bootDiskProfile - bootDiskProfile or null for nonepublic DedicatedLocalSsdProfile getDedicatedLocalSsdProfile()
null for nonepublic SwapConfig setDedicatedLocalSsdProfile(DedicatedLocalSsdProfile dedicatedLocalSsdProfile)
dedicatedLocalSsdProfile - dedicatedLocalSsdProfile or null for nonepublic Boolean getEnabled()
null for nonepublic SwapConfig setEnabled(Boolean enabled)
enabled - enabled or null for nonepublic EncryptionConfig getEncryptionConfig()
null for nonepublic SwapConfig setEncryptionConfig(EncryptionConfig encryptionConfig)
encryptionConfig - encryptionConfig or null for nonepublic EphemeralLocalSsdProfile getEphemeralLocalSsdProfile()
null for nonepublic SwapConfig setEphemeralLocalSsdProfile(EphemeralLocalSsdProfile ephemeralLocalSsdProfile)
ephemeralLocalSsdProfile - ephemeralLocalSsdProfile or null for nonepublic SwapConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic SwapConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.