Class V1FCVolumeSource

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") 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

    • fsType

      public V1FCVolumeSource fsType(String fsType)
    • getFsType

      @Nullable 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:
      fsType
    • setFsType

      public void setFsType(String fsType)
    • lun

      public V1FCVolumeSource lun(Integer lun)
    • getLun

      @Nullable public Integer getLun()
      lun is Optional: FC target lun number
      Returns:
      lun
    • setLun

      public void setLun(Integer lun)
    • readOnly

      public V1FCVolumeSource readOnly(Boolean readOnly)
    • getReadOnly

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

      public void setReadOnly(Boolean readOnly)
    • targetWWNs

      public V1FCVolumeSource targetWWNs(List<String> targetWWNs)
    • addTargetWWNsItem

      public V1FCVolumeSource addTargetWWNsItem(String targetWWNsItem)
    • getTargetWWNs

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

      public void setTargetWWNs(List<String> targetWWNs)
    • wwids

      public V1FCVolumeSource wwids(List<String> wwids)
    • addWwidsItem

      public V1FCVolumeSource addWwidsItem(String wwidsItem)
    • getWwids

      @Nullable 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:
      wwids
    • setWwids

      public void setWwids(List<String> wwids)
    • 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