Package kubevirt.io

Class V1HostDisk


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

      Fields 
      Modifier and Type Field Description
      private java.lang.String capacity  
      private java.lang.String path  
      private java.lang.Boolean shared  
      private java.lang.String type  
    • Constructor Summary

      Constructors 
      Constructor Description
      V1HostDisk()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V1HostDisk capacity​(java.lang.String capacity)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getCapacity()
      Capacity of the sparse disk +optional
      java.lang.String getPath()
      The path to HostDisk image located on the cluster
      java.lang.String getType()
      Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate'
      int hashCode()  
      java.lang.Boolean isShared()
      Shared indicate whether the path is shared between nodes
      V1HostDisk path​(java.lang.String path)  
      void setCapacity​(java.lang.String capacity)  
      void setPath​(java.lang.String path)  
      void setShared​(java.lang.Boolean shared)  
      void setType​(java.lang.String type)  
      V1HostDisk shared​(java.lang.Boolean shared)  
      private java.lang.String toIndentedString​(java.lang.Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).
      java.lang.String toString()  
      V1HostDisk type​(java.lang.String type)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • capacity

        private java.lang.String capacity
      • path

        private java.lang.String path
      • shared

        private java.lang.Boolean shared
      • type

        private java.lang.String type
    • Constructor Detail

      • V1HostDisk

        public V1HostDisk()
    • Method Detail

      • capacity

        public V1HostDisk capacity​(java.lang.String capacity)
      • getCapacity

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

        public void setCapacity​(java.lang.String capacity)
      • path

        public V1HostDisk path​(java.lang.String path)
      • getPath

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

        public void setPath​(java.lang.String path)
      • shared

        public V1HostDisk shared​(java.lang.Boolean shared)
      • isShared

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

        public void setShared​(java.lang.Boolean shared)
      • type

        public V1HostDisk type​(java.lang.String type)
      • getType

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

        public void setType​(java.lang.String type)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toIndentedString

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