Package kubevirt.io

Class V1Clock


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1Clock
    extends java.lang.Object
    Represents the clock and timers of a vmi.
    • Constructor Detail

      • V1Clock

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.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).