Class V1LocalVolumeSource

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1LocalVolumeSource

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1LocalVolumeSource extends Object
Local represents directly-attached storage with node affinity (Beta feature)
  • Field Details

  • Constructor Details

    • V1LocalVolumeSource

      public V1LocalVolumeSource(String path)
  • Method Details

    • 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:
      the path property value
    • setPath

      public void setPath(String path)
      Set the path property value
      Parameters:
      path - property value to set
    • path

      public V1LocalVolumeSource path(String path)
      Set path in a chainable fashion.
      Returns:
      The same instance of V1LocalVolumeSource for chaining.
    • getFsType

      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:
      the fsType property value
    • setFsType

      public void setFsType(String fsType)
      Set the fsType property value
      Parameters:
      fsType - property value to set
    • fsType

      public V1LocalVolumeSource fsType(String fsType)
      Set fsType in a chainable fashion.
      Returns:
      The same instance of V1LocalVolumeSource for chaining.
    • 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