Package io.fabric8.kubernetes.api.model
Class FCVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.FCVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<FCVolumeSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FCVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<FCVolumeSourceBuilder>, KubernetesResource
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FCVolumeSource()
No args constructor for use in serializationFCVolumeSource(String fsType, Integer lun, Boolean readOnly, List<String> targetWWNs, List<String> wwids)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FCVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getFsType()
fsType is the filesystem type to mount.Integer
getLun()
lun is Optional: FC target lun numberBoolean
getReadOnly()
readOnly is Optional: Defaults to false (read/write).List<String>
getTargetWWNs()
targetWWNs is Optional: FC target worldwide names (WWNs)List<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.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setFsType(String fsType)
fsType is the filesystem type to mount.void
setLun(Integer lun)
lun is Optional: FC target lun numbervoid
setReadOnly(Boolean readOnly)
readOnly is Optional: Defaults to false (read/write).void
setTargetWWNs(List<String> targetWWNs)
targetWWNs is Optional: FC target worldwide names (WWNs)void
setWwids(List<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.FCVolumeSourceBuilder
toBuilder()
-
-
-
Method Detail
-
getFsType
public 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.
-
setFsType
public void setFsType(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.
-
getLun
public Integer getLun()
lun is Optional: FC target lun number
-
setLun
public void setLun(Integer lun)
lun is Optional: FC target lun number
-
getReadOnly
public Boolean getReadOnly()
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
getTargetWWNs
public List<String> getTargetWWNs()
targetWWNs is Optional: FC target worldwide names (WWNs)
-
setTargetWWNs
public void setTargetWWNs(List<String> targetWWNs)
targetWWNs is Optional: FC target worldwide names (WWNs)
-
getWwids
public List<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.
-
setWwids
public void setWwids(List<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.
-
edit
public FCVolumeSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<FCVolumeSourceBuilder>
-
toBuilder
public FCVolumeSourceBuilder toBuilder()
-
-