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 java.lang.Object
Memory allows specifying the VirtualMachineInstance memory features.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
guest
private V1Hugepages
hugepages
-
Constructor Summary
Constructors Constructor Description V1Memory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getGuest()
Guest allows to specifying the amount of memory which is visible inside the Guest OS.V1Hugepages
getHugepages()
Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory.V1Memory
guest(java.lang.String guest)
int
hashCode()
V1Memory
hugepages(V1Hugepages hugepages)
void
setGuest(java.lang.String guest)
void
setHugepages(V1Hugepages hugepages)
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()
-
-
-
Field Detail
-
guest
private java.lang.String guest
-
hugepages
private V1Hugepages hugepages
-
-
Method Detail
-
guest
public V1Memory guest(java.lang.String guest)
-
getGuest
public java.lang.String 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
public void setGuest(java.lang.String guest)
-
hugepages
public V1Memory hugepages(V1Hugepages hugepages)
-
getHugepages
public V1Hugepages getHugepages()
Hugepages allow to use hugepages for the VirtualMachineInstance instead of regular memory. +optional- Returns:
- hugepages
-
setHugepages
public void setHugepages(V1Hugepages hugepages)
-
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
-
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).
-
-