Package kubevirt.io
Class V1Clock
- java.lang.Object
-
- kubevirt.io.V1Clock
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1Clock extends java.lang.ObjectRepresents the clock and timers of a vmi.
-
-
Constructor Summary
Constructors Constructor Description V1Clock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)V1TimergetTimer()Timer specifies whih timers are attached to the vmi.java.lang.StringgetTimezone()Timezone sets the guest clock to the specified timezone.V1ClockOffsetUTCgetUtc()UTC sets the guest clock to UTC on each boot.inthashCode()voidsetTimer(V1Timer timer)voidsetTimezone(java.lang.String timezone)voidsetUtc(V1ClockOffsetUTC utc)V1Clocktimer(V1Timer timer)V1Clocktimezone(java.lang.String timezone)java.lang.StringtoString()V1Clockutc(V1ClockOffsetUTC utc)
-
-
-
Method Detail
-
getTimer
public V1Timer getTimer()
Timer specifies whih timers are attached to the vmi.- Returns:
- timer
-
setTimer
public void setTimer(V1Timer timer)
-
timezone
public V1Clock timezone(java.lang.String timezone)
-
getTimezone
public java.lang.String getTimezone()
Timezone sets the guest clock to the specified timezone. Zone name follows the TZ environment variable format (e.g. 'America/New_York').- Returns:
- timezone
-
setTimezone
public void setTimezone(java.lang.String timezone)
-
utc
public V1Clock utc(V1ClockOffsetUTC utc)
-
getUtc
public V1ClockOffsetUTC getUtc()
UTC sets the guest clock to UTC on each boot. If an offset is specified, guest changes to the clock will be kept during reboots and are not reset.- Returns:
- utc
-
setUtc
public void setUtc(V1ClockOffsetUTC utc)
-
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
-
-