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.
  • Field Details

  • Constructor Details

    • V1VsphereVirtualDiskVolumeSource

      public V1VsphereVirtualDiskVolumeSource()
  • Method Details

    • fsType

      public V1VsphereVirtualDiskVolumeSource fsType(String fsType)
    • getFsType

      @Nullable public String 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

      public void setFsType(String fsType)
    • storagePolicyID

      public V1VsphereVirtualDiskVolumeSource storagePolicyID(String storagePolicyID)
    • getStoragePolicyID

      @Nullable public String getStoragePolicyID()
      storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
      Returns:
      storagePolicyID
    • setStoragePolicyID

      public void setStoragePolicyID(String storagePolicyID)
    • storagePolicyName

      public V1VsphereVirtualDiskVolumeSource storagePolicyName(String storagePolicyName)
    • getStoragePolicyName

      @Nullable public String getStoragePolicyName()
      storagePolicyName is the storage Policy Based Management (SPBM) profile name.
      Returns:
      storagePolicyName
    • setStoragePolicyName

      public void setStoragePolicyName(String storagePolicyName)
    • volumePath

      public V1VsphereVirtualDiskVolumeSource volumePath(String volumePath)
    • getVolumePath

      @Nonnull public String getVolumePath()
      volumePath is the path that identifies vSphere volume vmdk
      Returns:
      volumePath
    • setVolumePath

      public void setVolumePath(String volumePath)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static V1VsphereVirtualDiskVolumeSource fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of V1VsphereVirtualDiskVolumeSource to an JSON string
      Returns:
      JSON string