Class V1FCVolumeSource

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1FCVolumeSource extends Object
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.
  • Field Details

  • Constructor Details

    • V1FCVolumeSource

      public V1FCVolumeSource()
  • Method Details

    • getFsType

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

      public void setFsType(String fsType)
      Set the fsType property value
    • fsType

      public V1FCVolumeSource fsType(String fsType)
      Set fsType in a chainable fashion.
      Returns:
      The same instance of V1FCVolumeSource for chaining.
    • getLun

      public Integer getLun()
      lun is Optional: FC target lun number
      Returns:
      the lun property value
    • setLun

      public void setLun(Integer lun)
      Set the lun property value
    • lun

      public V1FCVolumeSource lun(Integer lun)
      Set lun in a chainable fashion.
      Returns:
      The same instance of V1FCVolumeSource for chaining.
    • getReadOnly

      public Boolean getReadOnly()
      readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      Returns:
      the readOnly property value
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
    • readOnly

      public V1FCVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1FCVolumeSource for chaining.
    • getTargetWWNs

      public List<String> getTargetWWNs()
      targetWWNs is Optional: FC target worldwide names (WWNs)
      Returns:
      the targetWWNs property value
    • setTargetWWNs

      public void setTargetWWNs(List<String> targetWWNs)
      Set the targetWWNs property value
    • targetWWNs

      public V1FCVolumeSource targetWWNs(List<String> targetWWNs)
      Set targetWWNs in a chainable fashion.
      Returns:
      The same instance of V1FCVolumeSource for chaining.
    • addtargetWWNsItem

      public V1FCVolumeSource addtargetWWNsItem(String targetWWNsItem)
      Add an item to the targetWWNs property in a chainable fashion.
      Returns:
      The same instance of V1FCVolumeSource for chaining.
    • getWwids

      public List<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.
      Returns:
      the wwids property value
    • setWwids

      public void setWwids(List<String> wwids)
      Set the wwids property value
    • wwids

      public V1FCVolumeSource wwids(List<String> wwids)
      Set wwids in a chainable fashion.
      Returns:
      The same instance of V1FCVolumeSource for chaining.
    • addwwidsItem

      public V1FCVolumeSource addwwidsItem(String wwidsItem)
      Add an item to the wwids property in a chainable fashion.
      Returns:
      The same instance of V1FCVolumeSource 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