Class 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.
    • Constructor Detail

      • IoK8sApiCoreV1VolumeMount

        public IoK8sApiCoreV1VolumeMount()
    • Method Detail

      • 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)
      • 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)
      • getName

        public String getName()
        This must match the Name of a Volume.
        Returns:
        name
      • setName

        public void setName​(String name)
      • 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)
      • 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)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object