Class LocalVolumeSource

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class LocalVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Local represents directly-attached storage with node affinity (Beta feature)
    • Constructor Detail

      • LocalVolumeSource

        public LocalVolumeSource​(java.lang.String fsType,
                                 @NonNull
                                 @NonNull java.lang.String path)
      • LocalVolumeSource

        public LocalVolumeSource()
    • Method Detail

      • getFsType

        public java.lang.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.
      • getPath

        @NonNull
        public @NonNull java.lang.String getPath()
        path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
      • setFsType

        public void setFsType​(java.lang.String 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.
      • setPath

        public void setPath​(@NonNull
                            @NonNull java.lang.String path)
        path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object