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.ObjectRepresents 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 V1HostDiskcapacity(java.lang.String capacity)booleanequals(java.lang.Object o)java.lang.StringgetCapacity()Capacity of the sparse disk +optionaljava.lang.StringgetPath()The path to HostDisk image located on the clusterjava.lang.StringgetType()Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate'inthashCode()java.lang.BooleanisShared()Shared indicate whether the path is shared between nodesV1HostDiskpath(java.lang.String path)voidsetCapacity(java.lang.String capacity)voidsetPath(java.lang.String path)voidsetShared(java.lang.Boolean shared)voidsetType(java.lang.String type)V1HostDiskshared(java.lang.Boolean shared)java.lang.StringtoString()V1HostDisktype(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-