Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1FCVolumeSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1FCVolumeSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1FCVolumeSource 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 Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FS_TYPEstatic StringJSON_PROPERTY_LUNstatic StringJSON_PROPERTY_READ_ONLYstatic StringJSON_PROPERTY_TARGET_W_W_NSstatic StringJSON_PROPERTY_WWIDS
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1FCVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1FCVolumeSourceaddTargetWWNsItem(String targetWWNsItem)IoK8sApiCoreV1FCVolumeSourceaddWwidsItem(String wwidsItem)booleanequals(Object o)IoK8sApiCoreV1FCVolumeSourcefsType(String fsType)StringgetFsType()Filesystem type to mount.IntegergetLun()Optional: FC target lun numberBooleangetReadOnly()Optional: Defaults to false (read/write).List<String>getTargetWWNs()Optional: FC target worldwide names (WWNs)List<String>getWwids()Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.inthashCode()IoK8sApiCoreV1FCVolumeSourcelun(Integer lun)IoK8sApiCoreV1FCVolumeSourcereadOnly(Boolean readOnly)voidsetFsType(String fsType)voidsetLun(Integer lun)voidsetReadOnly(Boolean readOnly)voidsetTargetWWNs(List<String> targetWWNs)voidsetWwids(List<String> wwids)IoK8sApiCoreV1FCVolumeSourcetargetWWNs(List<String> targetWWNs)StringtoString()IoK8sApiCoreV1FCVolumeSourcewwids(List<String> wwids)
-
-
-
Field Detail
-
JSON_PROPERTY_FS_TYPE
public static final String JSON_PROPERTY_FS_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LUN
public static final String JSON_PROPERTY_LUN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_READ_ONLY
public static final String JSON_PROPERTY_READ_ONLY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET_W_W_NS
public static final String JSON_PROPERTY_TARGET_W_W_NS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WWIDS
public static final String JSON_PROPERTY_WWIDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
fsType
public IoK8sApiCoreV1FCVolumeSource fsType(String fsType)
-
getFsType
@Nullable public String getFsType()
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 IoK8sApiCoreV1FCVolumeSource lun(Integer lun)
-
getLun
@Nullable public Integer getLun()
Optional: FC target lun number- Returns:
- lun
-
setLun
public void setLun(Integer lun)
-
readOnly
public IoK8sApiCoreV1FCVolumeSource readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
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 IoK8sApiCoreV1FCVolumeSource targetWWNs(List<String> targetWWNs)
-
addTargetWWNsItem
public IoK8sApiCoreV1FCVolumeSource addTargetWWNsItem(String targetWWNsItem)
-
getTargetWWNs
@Nullable public List<String> getTargetWWNs()
Optional: FC target worldwide names (WWNs)- Returns:
- targetWWNs
-
wwids
public IoK8sApiCoreV1FCVolumeSource wwids(List<String> wwids)
-
addWwidsItem
public IoK8sApiCoreV1FCVolumeSource addWwidsItem(String wwidsItem)
-
getWwids
@Nullable public List<String> getWwids()
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.- Returns:
- wwids
-
-