Class LocalVolumeSource.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • path

        @Stability(Stable)
        public LocalVolumeSource.Builder path​(String path)
        Sets the value of LocalVolumeSource.getPath()
        Parameters:
        path - path of the full path to the volume on the node. This parameter is required. It can be either a directory or block device (disk, partition, ...).
        Returns:
        this
      • fsType

        @Stability(Stable)
        public LocalVolumeSource.Builder fsType​(String fsType)
        Parameters:
        fsType - fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.
        Returns:
        this