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 Build 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()
Path within the container at which the volume should be mounted.
|
String |
getName()
Name of the volume.
|
Boolean |
getReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified).
|
String |
getSubPath()
Path within the volume from which the container's volume should be mounted.
|
String |
getSubPathExpr()
Expanded path within the volume from which the container's volume should be mounted.
|
VolumeMount |
set(String fieldName,
Object value) |
VolumeMount |
setMountPath(String mountPath)
Path within the container at which the volume should be mounted.
|
VolumeMount |
setName(String name)
Name of the volume.
|
VolumeMount |
setReadOnly(Boolean readOnly)
Mounted read-only if true, read-write otherwise (false or unspecified).
|
VolumeMount |
setSubPath(String subPath)
Path within the volume from which the container's volume should be mounted.
|
VolumeMount |
setSubPathExpr(String subPathExpr)
Expanded 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 String getSubPathExpr()
null for nonepublic VolumeMount setSubPathExpr(String subPathExpr)
subPathExpr - subPathExpr 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–2025 Google. All rights reserved.