Package kubevirt.io

Class V1VirtualMachineStatus


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2019-11-10T14:44:51.030+02:00")
    public class V1VirtualMachineStatus
    extends java.lang.Object
    VirtualMachineStatus represents the status returned by the controller to describe how the VirtualMachine is doing
    • Constructor Detail

      • V1VirtualMachineStatus

        public V1VirtualMachineStatus()
    • Method Detail

      • getConditions

        public java.util.List<V1VirtualMachineCondition> getConditions()
        Hold the state information of the VirtualMachine and its VirtualMachineInstance
        Returns:
        conditions
      • isCreated

        public java.lang.Boolean isCreated()
        Created indicates if the virtual machine is created in the cluster
        Returns:
        created
      • setCreated

        public void setCreated​(java.lang.Boolean created)
      • isReady

        public java.lang.Boolean isReady()
        Ready indicates if the virtual machine is running and ready
        Returns:
        ready
      • setReady

        public void setReady​(java.lang.Boolean ready)
      • getStateChangeRequests

        public java.util.List<V1VirtualMachineStateChangeRequest> getStateChangeRequests()
        StateChangeRequests indicates a list of actions that should be taken on a VMI e.g. stop a specific VMI then start a new one.
        Returns:
        stateChangeRequests
      • 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).