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 Details

  • Constructor Details

    • V1Clock

      public V1Clock()
  • Method Details

    • timer

      public V1Clock timer(V1Timer timer)
    • 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(String timezone)
    • getTimezone

      public 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(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(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).