Class FCVolumeSource

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

    public class FCVolumeSource
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FCVolumeSource.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      FCVolumeSource()  
      FCVolumeSource​(java.lang.String fsType, java.lang.Number lun, java.lang.Boolean readOnly, java.util.List<java.lang.String> targetWWNs, java.util.List<java.lang.String> wwids)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static FCVolumeSource.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getFsType()
      fsType is the filesystem type to mount.
      java.lang.Number getLun()
      lun is Optional: FC target lun number
      java.lang.Boolean getReadOnly()
      readOnly is Optional: Defaults to false (read/write).
      java.util.List<java.lang.String> getTargetWWNs()
      targetWWNs is Optional: FC target worldwide names (WWNs)
      java.util.List<java.lang.String> getWwids()
      wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
      int hashCode()  
      void setFsType​(java.lang.String fsType)
      fsType is the filesystem type to mount.
      void setLun​(java.lang.Number lun)
      lun is Optional: FC target lun number
      void setReadOnly​(java.lang.Boolean readOnly)
      readOnly is Optional: Defaults to false (read/write).
      void setTargetWWNs​(java.util.List<java.lang.String> targetWWNs)
      targetWWNs is Optional: FC target worldwide names (WWNs)
      void setWwids​(java.util.List<java.lang.String> wwids)
      wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
      FCVolumeSource.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FCVolumeSource

        public FCVolumeSource​(java.lang.String fsType,
                              java.lang.Number lun,
                              java.lang.Boolean readOnly,
                              java.util.List<java.lang.String> targetWWNs,
                              java.util.List<java.lang.String> wwids)
      • FCVolumeSource

        public FCVolumeSource()
    • Method Detail

      • getFsType

        public java.lang.String getFsType()
        fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
      • getLun

        public java.lang.Number getLun()
        lun is Optional: FC target lun number
      • getReadOnly

        public java.lang.Boolean getReadOnly()
        readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      • getTargetWWNs

        public java.util.List<java.lang.String> getTargetWWNs()
        targetWWNs is Optional: FC target worldwide names (WWNs)
      • getWwids

        public java.util.List<java.lang.String> getWwids()
        wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
      • setFsType

        public void setFsType​(java.lang.String fsType)
        fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
      • setLun

        public void setLun​(java.lang.Number lun)
        lun is Optional: FC target lun number
      • setReadOnly

        public void setReadOnly​(java.lang.Boolean readOnly)
        readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      • setTargetWWNs

        public void setTargetWWNs​(java.util.List<java.lang.String> targetWWNs)
        targetWWNs is Optional: FC target worldwide names (WWNs)
      • setWwids

        public void setWwids​(java.util.List<java.lang.String> wwids)
        wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
      • 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