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 |
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 |
name(String name) |
V1VolumeMount |
readOnly(Boolean readOnly) |
void |
setMountPath(String mountPath) |
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 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 © 2017. All rights reserved.