Package kubevirt.io

Class V1FeatureSpinlocks


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1FeatureSpinlocks
    extends java.lang.Object
    V1FeatureSpinlocks
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Boolean enabled  
      private java.lang.Integer spinlocks  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V1FeatureSpinlocks enabled​(java.lang.Boolean enabled)  
      boolean equals​(java.lang.Object o)  
      java.lang.Integer getSpinlocks()
      Retries indicates the number of retries.
      int hashCode()  
      java.lang.Boolean isEnabled()
      Enabled determines if the feature should be enabled or disabled on the guest.
      void setEnabled​(java.lang.Boolean enabled)  
      void setSpinlocks​(java.lang.Integer spinlocks)  
      V1FeatureSpinlocks spinlocks​(java.lang.Integer spinlocks)  
      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

      • enabled

        private java.lang.Boolean enabled
      • spinlocks

        private java.lang.Integer spinlocks
    • Constructor Detail

      • V1FeatureSpinlocks

        public V1FeatureSpinlocks()
    • Method Detail

      • isEnabled

        public java.lang.Boolean isEnabled()
        Enabled determines if the feature should be enabled or disabled on the guest. Defaults to true. +optional
        Returns:
        enabled
      • setEnabled

        public void setEnabled​(java.lang.Boolean enabled)
      • getSpinlocks

        public java.lang.Integer getSpinlocks()
        Retries indicates the number of retries. Must be a value greater or equal 4096. Defaults to 4096. +optional
        Returns:
        spinlocks
      • setSpinlocks

        public void setSpinlocks​(java.lang.Integer spinlocks)
      • 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).