Class V1VsphereVirtualDiskVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1VsphereVirtualDiskVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1VsphereVirtualDiskVolumeSource
extends Object
Represents a vSphere volume resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1VsphereVirtualDiskVolumeSource given an JSON stringfsType is filesystem type to mount.storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.storagePolicyName is the storage Policy Based Management (SPBM) profile name.volumePath is the path that identifies vSphere volume vmdkint
hashCode()
void
void
setStoragePolicyID
(String storagePolicyID) void
setStoragePolicyName
(String storagePolicyName) void
setVolumePath
(String volumePath) storagePolicyID
(String storagePolicyID) storagePolicyName
(String storagePolicyName) toJson()
Convert an instance of V1VsphereVirtualDiskVolumeSource to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues foundvolumePath
(String volumePath)
-
Field Details
-
SERIALIZED_NAME_FS_TYPE
- See Also:
-
SERIALIZED_NAME_STORAGE_POLICY_I_D
- See Also:
-
SERIALIZED_NAME_STORAGE_POLICY_NAME
- See Also:
-
SERIALIZED_NAME_VOLUME_PATH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1VsphereVirtualDiskVolumeSource
public V1VsphereVirtualDiskVolumeSource()
-
-
Method Details
-
fsType
-
getFsType
fsType is 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
-
storagePolicyID
-
getStoragePolicyID
storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.- Returns:
- storagePolicyID
-
setStoragePolicyID
-
storagePolicyName
-
getStoragePolicyName
storagePolicyName is the storage Policy Based Management (SPBM) profile name.- Returns:
- storagePolicyName
-
setStoragePolicyName
-
volumePath
-
getVolumePath
volumePath is the path that identifies vSphere volume vmdk- Returns:
- volumePath
-
setVolumePath
-
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 V1VsphereVirtualDiskVolumeSource
-
fromJson
Create an instance of V1VsphereVirtualDiskVolumeSource given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1VsphereVirtualDiskVolumeSource
- Throws:
IOException
- if the JSON string is invalid with respect to V1VsphereVirtualDiskVolumeSource
-
toJson
Convert an instance of V1VsphereVirtualDiskVolumeSource to an JSON string- Returns:
- JSON string
-