Package kubevirt.io
Class V1Memory
java.lang.Object
kubevirt.io.V1Memory
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1Memory
extends Object
Memory allows specifying the VirtualMachineInstance memory features.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetGuest()Guest allows to specifying the amount of memory which is visible inside the Guest OS.Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory.inthashCode()hugepages(V1Hugepages hugepages) voidvoidsetHugepages(V1Hugepages hugepages) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
guest
-
hugepages
-
-
Constructor Details
-
V1Memory
public V1Memory()
-
-
Method Details
-
guest
-
getGuest
Guest allows to specifying the amount of memory which is visible inside the Guest OS. The Guest must lie between Requests and Limits from the resources section. Defaults to the requested memory in the resources section if not specified. + optional- Returns:
- guest
-
setGuest
-
hugepages
-
getHugepages
Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory. +optional- Returns:
- hugepages
-
setHugepages
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-