public final class VolumeMount
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 Run Admin 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 |
|---|
VolumeMount() |
| Modifier and Type | Method and Description |
|---|---|
VolumeMount |
clone() |
String |
getMountPath()
Required.
|
String |
getName()
Required.
|
Boolean |
getReadOnly()
Sets the mount to be read-only or read-write.
|
String |
getSubPath()
Path within the volume from which the container's volume should be mounted.
|
VolumeMount |
set(String fieldName,
Object value) |
VolumeMount |
setMountPath(String mountPath)
Required.
|
VolumeMount |
setName(String name)
Required.
|
VolumeMount |
setReadOnly(Boolean readOnly)
Sets the mount to be read-only or read-write.
|
VolumeMount |
setSubPath(String subPath)
Path within the volume from which the container's volume should be mounted.
|
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 String getMountPath()
null for nonepublic VolumeMount setMountPath(String mountPath)
mountPath - mountPath or null for nonepublic String getName()
null for nonepublic VolumeMount setName(String name)
name - name or null for nonepublic Boolean getReadOnly()
null for nonepublic VolumeMount setReadOnly(Boolean readOnly)
readOnly - readOnly or null for nonepublic String getSubPath()
null for nonepublic VolumeMount setSubPath(String subPath)
subPath - subPath or null for nonepublic VolumeMount set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic VolumeMount clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.