Class V1FCVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1FCVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddTargetWWNsItem
(String targetWWNsItem) addWwidsItem
(String wwidsItem) boolean
fsType is the filesystem type to mount.getLun()
lun is Optional: FC target lun numberreadOnly is Optional: Defaults to false (read/write).targetWWNs is Optional: FC target worldwide names (WWNs)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
void
void
setReadOnly
(Boolean readOnly) void
setTargetWWNs
(List<String> targetWWNs) void
targetWWNs
(List<String> targetWWNs) toString()
-
Field Details
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_LUN
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_TARGET_W_W_NS
- See Also:
-
SERIALIZED_NAME_WWIDS
- See Also:
-
-
Constructor Details
-
V1FCVolumeSource
public V1FCVolumeSource()
-
-
Method Details
-
fsType
-
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
-
lun
-
getLun
lun is Optional: FC target lun number- Returns:
- lun
-
setLun
-
readOnly
-
getReadOnly
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- readOnly
-
setReadOnly
-
targetWWNs
-
addTargetWWNsItem
-
getTargetWWNs
targetWWNs is Optional: FC target worldwide names (WWNs)- Returns:
- targetWWNs
-
setTargetWWNs
-
wwids
-
addWwidsItem
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-