Package kubevirt.io

Class 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.
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • guest

        private java.lang.String guest
    • Constructor Detail

      • V1Memory

        public V1Memory()
    • 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)
      • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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).