Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1VolumeMount
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1VolumeMount
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1VolumeMount extends Object
VolumeMount describes a mounting of a Volume within a container.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MOUNT_PATHstatic StringJSON_PROPERTY_MOUNT_PROPAGATIONstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_SUB_PATHstatic StringJSON_PROPERTY_SUB_PATH_EXPR
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1VolumeMount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetMountPath()Path within the container at which the volume should be mounted.StringgetMountPropagation()mountPropagation determines how mounts are propagated from the host to container and the other way around.StringgetName()This must match the Name of a Volume.BooleangetReadOnly()Mounted read-only if true, read-write otherwise (false or unspecified).StringgetSubPath()Path within the volume from which the container's volume should be mounted.StringgetSubPathExpr()Expanded path within the volume from which the container's volume should be mounted.inthashCode()IoK8sApiCoreV1VolumeMountmountPath(String mountPath)IoK8sApiCoreV1VolumeMountmountPropagation(String mountPropagation)IoK8sApiCoreV1VolumeMountname(String name)IoK8sApiCoreV1VolumeMountreadOnly(Boolean readOnly)voidsetMountPath(String mountPath)voidsetMountPropagation(String mountPropagation)voidsetName(String name)voidsetReadOnly(Boolean readOnly)voidsetSubPath(String subPath)voidsetSubPathExpr(String subPathExpr)IoK8sApiCoreV1VolumeMountsubPath(String subPath)IoK8sApiCoreV1VolumeMountsubPathExpr(String subPathExpr)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MOUNT_PATH
public static final String JSON_PROPERTY_MOUNT_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MOUNT_PROPAGATION
public static final String JSON_PROPERTY_MOUNT_PROPAGATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_PATH
public static final String JSON_PROPERTY_SUB_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUB_PATH_EXPR
public static final String JSON_PROPERTY_SUB_PATH_EXPR
- See Also:
- Constant Field Values
-
-
Method Detail
-
mountPath
public IoK8sApiCoreV1VolumeMount mountPath(String mountPath)
-
getMountPath
public String getMountPath()
Path within the container at which the volume should be mounted. Must not contain ':'.- Returns:
- mountPath
-
setMountPath
public void setMountPath(String mountPath)
-
mountPropagation
public IoK8sApiCoreV1VolumeMount mountPropagation(String mountPropagation)
-
getMountPropagation
@Nullable public String getMountPropagation()
mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.- Returns:
- mountPropagation
-
setMountPropagation
public void setMountPropagation(String mountPropagation)
-
name
public IoK8sApiCoreV1VolumeMount name(String name)
-
getName
public String getName()
This must match the Name of a Volume.- Returns:
- name
-
setName
public void setName(String name)
-
readOnly
public IoK8sApiCoreV1VolumeMount readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
subPath
public IoK8sApiCoreV1VolumeMount subPath(String subPath)
-
getSubPath
@Nullable public String getSubPath()
Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).- Returns:
- subPath
-
setSubPath
public void setSubPath(String subPath)
-
subPathExpr
public IoK8sApiCoreV1VolumeMount subPathExpr(String subPathExpr)
-
getSubPathExpr
@Nullable public String getSubPathExpr()
Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.- Returns:
- subPathExpr
-
setSubPathExpr
public void setSubPathExpr(String subPathExpr)
-
-