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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCapacity of the sparse disk +optionalgetPath()The path to HostDisk image located on the clustergetType()Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate'inthashCode()isShared()Shared indicate whether the path is shared between nodesvoidsetCapacity(String capacity) voidvoidvoidprivate StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
capacity
-
path
-
type
-
-
Constructor Details
-
V1HostDisk
public V1HostDisk()
-
-
Method Details
-
capacity
-
getCapacity
Capacity of the sparse disk +optional- Returns:
- capacity
-
setCapacity
-
path
-
getPath
The path to HostDisk image located on the cluster- Returns:
- path
-
setPath
-
type
-
getType
Contains information if disk.img exists or should be created allowed options are 'Disk' and 'DiskOrCreate'- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-