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 java.lang.ObjectV1FeatureSpinlocks
-
-
Constructor Summary
Constructors Constructor Description V1FeatureSpinlocks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1FeatureSpinlocksenabled(java.lang.Boolean enabled)booleanequals(java.lang.Object o)java.lang.IntegergetSpinlocks()Retries indicates the number of retries.inthashCode()java.lang.BooleanisEnabled()Enabled determines if the feature should be enabled or disabled on the guest.voidsetEnabled(java.lang.Boolean enabled)voidsetSpinlocks(java.lang.Integer spinlocks)V1FeatureSpinlocksspinlocks(java.lang.Integer spinlocks)java.lang.StringtoString()
-
-
-
Method Detail
-
enabled
public V1FeatureSpinlocks enabled(java.lang.Boolean enabled)
-
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)
-
spinlocks
public V1FeatureSpinlocks spinlocks(java.lang.Integer spinlocks)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-