Package io.fabric8.kubernetes.api.model
Class PortworxVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PortworxVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PortworxVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PortworxVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<PortworxVolumeSourceBuilder>, KubernetesResource
PortworxVolumeSource represents a Portworx volume resource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PortworxVolumeSource()No args constructor for use in serializationPortworxVolumeSource(String fsType, Boolean readOnly, String volumeID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortworxVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFsType()fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.BooleangetReadOnly()readOnly defaults to false (read/write).StringgetVolumeID()volumeID uniquely identifies a Portworx volumevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFsType(String fsType)fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.voidsetReadOnly(Boolean readOnly)readOnly defaults to false (read/write).voidsetVolumeID(String volumeID)volumeID uniquely identifies a Portworx volumePortworxVolumeSourceBuildertoBuilder()
-
-
-
Method Detail
-
getFsType
public String getFsType()
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
-
setFsType
public void setFsType(String fsType)
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
-
getReadOnly
public Boolean getReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
getVolumeID
public String getVolumeID()
volumeID uniquely identifies a Portworx volume
-
setVolumeID
public void setVolumeID(String volumeID)
volumeID uniquely identifies a Portworx volume
-
edit
public PortworxVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PortworxVolumeSourceBuilder>
-
toBuilder
public PortworxVolumeSourceBuilder toBuilder()
-
-