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.Object
V1FeatureSpinlocks
-
-
Constructor Summary
Constructors Constructor Description V1FeatureSpinlocks()
-
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()
-
-
-
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:
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).
-
-