public class V1VolumeMount extends Object
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.
|
String |
getSubPath()
Path within the volume from which the container's volume should be mounted.
|
int |
hashCode() |
Boolean |
isReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified).
|
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) |
V1VolumeMount |
subPath(String subPath) |
String |
toString() |
public V1VolumeMount mountPath(String mountPath)
public String getMountPath()
public void setMountPath(String mountPath)
public V1VolumeMount mountPropagation(String mountPropagation)
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)
public Boolean isReadOnly()
public void setReadOnly(Boolean readOnly)
public V1VolumeMount subPath(String subPath)
public String getSubPath()
public void setSubPath(String subPath)
Copyright © 2018. All rights reserved.