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 java.lang.Object
Represents a disk created on the cluster level
-
-
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 +optionaljava.lang.String
getPath()
The path to HostDisk image located on the clusterjava.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 nodesV1HostDisk
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)
java.lang.String
toString()
V1HostDisk
type(java.lang.String type)
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-