Package kubevirt.io

Class V1FeatureSpinlocks

java.lang.Object
kubevirt.io.V1FeatureSpinlocks

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

    • enabled

      private Boolean enabled
    • spinlocks

      private Integer spinlocks
  • Constructor Details

    • V1FeatureSpinlocks

      public V1FeatureSpinlocks()
  • Method Details

    • enabled

      public V1FeatureSpinlocks enabled(Boolean enabled)
    • isEnabled

      public 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(Boolean enabled)
    • spinlocks

      public V1FeatureSpinlocks spinlocks(Integer spinlocks)
    • getSpinlocks

      public 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(Integer spinlocks)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).