Package kubevirt.io

Class V1HostDisk

java.lang.Object
kubevirt.io.V1HostDisk

@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1HostDisk extends Object
Represents a disk created on the cluster level
  • Field Details

  • Constructor Details

    • V1HostDisk

      public V1HostDisk()
  • Method Details

    • capacity

      public V1HostDisk capacity(String capacity)
    • getCapacity

      public String getCapacity()
      Capacity of the sparse disk +optional
      Returns:
      capacity
    • setCapacity

      public void setCapacity(String capacity)
    • path

      public V1HostDisk path(String path)
    • getPath

      public String getPath()
      The path to HostDisk image located on the cluster
      Returns:
      path
    • setPath

      public void setPath(String path)
    • shared

      public V1HostDisk shared(Boolean shared)
    • isShared

      public Boolean isShared()
      Shared indicate whether the path is shared between nodes
      Returns:
      shared
    • setShared

      public void setShared(Boolean shared)
    • type

      public V1HostDisk type(String type)
    • getType

      public String getType()
      Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate'
      Returns:
      type
    • setType

      public void setType(String type)
    • 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
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).