Package io.fabric8.kubernetes.api.model
Class PhotonPersistentDiskVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PhotonPersistentDiskVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PhotonPersistentDiskVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PhotonPersistentDiskVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<PhotonPersistentDiskVolumeSourceBuilder>, KubernetesResource
Represents a Photon Controller persistent disk resource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PhotonPersistentDiskVolumeSource()No args constructor for use in serializationPhotonPersistentDiskVolumeSource(String fsType, String pdID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhotonPersistentDiskVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFsType()fsType is the filesystem type to mount.StringgetPdID()pdID is the ID that identifies Photon Controller persistent diskvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFsType(String fsType)fsType is the filesystem type to mount.voidsetPdID(String pdID)pdID is the ID that identifies Photon Controller persistent diskPhotonPersistentDiskVolumeSourceBuildertoBuilder()
-
-
-
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.
-
getPdID
public String getPdID()
pdID is the ID that identifies Photon Controller persistent disk
-
setPdID
public void setPdID(String pdID)
pdID is the ID that identifies Photon Controller persistent disk
-
edit
public PhotonPersistentDiskVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PhotonPersistentDiskVolumeSourceBuilder>
-
toBuilder
public PhotonPersistentDiskVolumeSourceBuilder toBuilder()
-
-