Class V1FCVolumeSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1FCVolumeSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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) Add an item to the targetWWNs property in a chainable fashion.addwwidsItem
(String wwidsItem) Add an item to the wwids property in a chainable fashion.boolean
Set fsType in a chainable fashion.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()
Set lun in a chainable fashion.Set readOnly in a chainable fashion.void
Set the fsType property valuevoid
Set the lun property valuevoid
setReadOnly
(Boolean readOnly) Set the readOnly property valuevoid
setTargetWWNs
(List<@NotNull String> targetWWNs) Set the targetWWNs property valuevoid
Set the wwids property valuetargetWWNs
(List<@NotNull String> targetWWNs) Set targetWWNs in a chainable fashion.toString()
Set wwids in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_FS_TYPE
- See Also:
-
JSON_PROPERTY_LUN
- See Also:
-
JSON_PROPERTY_READ_ONLY
- See Also:
-
JSON_PROPERTY_TARGET_W_W_NS
- See Also:
-
JSON_PROPERTY_WWIDS
- See Also:
-
-
Constructor Details
-
V1FCVolumeSource
public V1FCVolumeSource()
-
-
Method Details
-
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:
- the fsType property value
-
setFsType
Set the fsType property value- Parameters:
fsType
- property value to set
-
fsType
Set fsType in a chainable fashion.- Returns:
- The same instance of V1FCVolumeSource for chaining.
-
getLun
lun is Optional: FC target lun number- Returns:
- the lun property value
-
setLun
Set the lun property value- Parameters:
lun
- property value to set
-
lun
Set lun in a chainable fashion.- Returns:
- The same instance of V1FCVolumeSource for chaining.
-
getReadOnly
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- the readOnly property value
-
setReadOnly
Set the readOnly property value- Parameters:
readOnly
- property value to set
-
readOnly
Set readOnly in a chainable fashion.- Returns:
- The same instance of V1FCVolumeSource for chaining.
-
getTargetWWNs
targetWWNs is Optional: FC target worldwide names (WWNs)- Returns:
- the targetWWNs property value
-
setTargetWWNs
Set the targetWWNs property value- Parameters:
targetWWNs
- property value to set
-
targetWWNs
Set targetWWNs in a chainable fashion.- Returns:
- The same instance of V1FCVolumeSource for chaining.
-
addtargetWWNsItem
Add an item to the targetWWNs property in a chainable fashion.- Returns:
- The same instance of V1FCVolumeSource for chaining.
-
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:
- the wwids property value
-
setWwids
Set the wwids property value- Parameters:
wwids
- property value to set
-
wwids
Set wwids in a chainable fashion.- Returns:
- The same instance of V1FCVolumeSource for chaining.
-
addwwidsItem
Add an item to the wwids property in a chainable fashion.- Returns:
- The same instance of V1FCVolumeSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-