Class V1LocalVolumeSource

java.lang.Object
io.kubernetes.client.openapi.models.V1LocalVolumeSource

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1LocalVolumeSource extends Object
Local represents directly-attached storage with node affinity (Beta feature)
  • Field Details

  • Constructor Details

    • V1LocalVolumeSource

      public V1LocalVolumeSource()
  • Method Details

    • fsType

      public V1LocalVolumeSource fsType(String fsType)
    • getFsType

      @Nullable public String getFsType()
      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:
      fsType
    • setFsType

      public void setFsType(String fsType)
    • path

      public V1LocalVolumeSource path(String path)
    • getPath

      public String getPath()
      path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
      Returns:
      path
    • setPath

      public void setPath(String path)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object