Class V1FCVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1FCVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTargetWWNsItem
(String targetWWNsItem) addWwidsItem
(String wwidsItem) boolean
static V1FCVolumeSource
Create an instance of V1FCVolumeSource given an JSON stringfsType 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) toJson()
Convert an instance of V1FCVolumeSource to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
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:
-
openapiFields
-
openapiRequiredFields
-
-
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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1FCVolumeSource
-
fromJson
Create an instance of V1FCVolumeSource given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1FCVolumeSource
- Throws:
IOException
- if the JSON string is invalid with respect to V1FCVolumeSource
-
toJson
Convert an instance of V1FCVolumeSource to an JSON string- Returns:
- JSON string
-