@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-07-29T18:17:00.375Z[Etc/UTC]") public class V1VolumeMount extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_MOUNT_PATH |
static String |
SERIALIZED_NAME_MOUNT_PROPAGATION |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_READ_ONLY |
static String |
SERIALIZED_NAME_SUB_PATH |
static String |
SERIALIZED_NAME_SUB_PATH_EXPR |
Constructor and Description |
---|
V1VolumeMount() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getMountPath()
Path within the container at which the volume should be mounted.
|
String |
getMountPropagation()
mountPropagation determines how mounts are propagated from the host to container and the other
way around.
|
String |
getName()
This must match the Name of a 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.
|
int |
hashCode() |
V1VolumeMount |
mountPath(String mountPath) |
V1VolumeMount |
mountPropagation(String mountPropagation) |
V1VolumeMount |
name(String name) |
V1VolumeMount |
readOnly(Boolean readOnly) |
void |
setMountPath(String mountPath) |
void |
setMountPropagation(String mountPropagation) |
void |
setName(String name) |
void |
setReadOnly(Boolean readOnly) |
void |
setSubPath(String subPath) |
void |
setSubPathExpr(String subPathExpr) |
V1VolumeMount |
subPath(String subPath) |
V1VolumeMount |
subPathExpr(String subPathExpr) |
String |
toString() |
public static final String SERIALIZED_NAME_MOUNT_PATH
public static final String SERIALIZED_NAME_MOUNT_PROPAGATION
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_READ_ONLY
public static final String SERIALIZED_NAME_SUB_PATH
public static final String SERIALIZED_NAME_SUB_PATH_EXPR
public V1VolumeMount mountPath(String mountPath)
public String getMountPath()
public void setMountPath(String mountPath)
public V1VolumeMount mountPropagation(String mountPropagation)
@Nullable public String getMountPropagation()
public void setMountPropagation(String mountPropagation)
public V1VolumeMount name(String name)
public String getName()
public void setName(String name)
public V1VolumeMount readOnly(Boolean readOnly)
@Nullable public Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
public V1VolumeMount subPath(String subPath)
@Nullable public String getSubPath()
public void setSubPath(String subPath)
public V1VolumeMount subPathExpr(String subPathExpr)
@Nullable public String getSubPathExpr()
public void setSubPathExpr(String subPathExpr)
Copyright © 2020. All rights reserved.