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 Object
Represents the clock and timers of a vmi.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetTimer()Timer specifies whih timers are attached to the vmi.Timezone sets the guest clock to the specified timezone.getUtc()UTC sets the guest clock to UTC on each boot.inthashCode()voidvoidsetTimezone(String timezone) voidsetUtc(V1ClockOffsetUTC utc) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()utc(V1ClockOffsetUTC utc)
-
Field Details
-
timer
-
timezone
-
utc
-
-
Constructor Details
-
V1Clock
public V1Clock()
-
-
Method Details
-
timer
-
getTimer
Timer specifies whih timers are attached to the vmi.- Returns:
- timer
-
setTimer
-
timezone
-
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
-
utc
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-