Class FCVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.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 numberjava.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 numbervoid
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()
-
-
-
Method Detail
-
builder
public static FCVolumeSource.Builder builder()
-
toBuilder
public FCVolumeSource.Builder toBuilder()
-
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 classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-