Class V1PhotonPersistentDiskVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1PhotonPersistentDiskVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1PhotonPersistentDiskVolumeSource
extends Object
Represents a Photon Controller persistent disk resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1PhotonPersistentDiskVolumeSource given an JSON stringfsType is the filesystem type to mount.getPdID()
pdID is the ID that identifies Photon Controller persistent diskint
hashCode()
void
void
toJson()
Convert an instance of V1PhotonPersistentDiskVolumeSource 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_PD_I_D
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1PhotonPersistentDiskVolumeSource
public V1PhotonPersistentDiskVolumeSource()
-
-
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
-
pdID
-
getPdID
pdID is the ID that identifies Photon Controller persistent disk- Returns:
- pdID
-
setPdID
-
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 V1PhotonPersistentDiskVolumeSource
-
fromJson
Create an instance of V1PhotonPersistentDiskVolumeSource given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1PhotonPersistentDiskVolumeSource
- Throws:
IOException
- if the JSON string is invalid with respect to V1PhotonPersistentDiskVolumeSource
-
toJson
Convert an instance of V1PhotonPersistentDiskVolumeSource to an JSON string- Returns:
- JSON string
-