org.jclouds.vcloud.director.v1_5.domain
Class VmQuestionAnswer

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.VmQuestionAnswer

public class VmQuestionAnswer
extends Object

Represents a VM answer to a question when the VM is in a stuck ResourceEntityType.Status#WAITING_FOR_INPUT state.

 <complexType name="VmQuestionAnswer">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ChoiceId" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="QuestionId" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class VmQuestionAnswer.Builder
           
 
Constructor Summary
protected VmQuestionAnswer()
           
  VmQuestionAnswer(int choiceId, String questionId)
           
 
Method Summary
static VmQuestionAnswer.Builder builder()
           
 boolean equals(Object o)
           
 int getChoiceId()
          Gets the value of the choiceId property.
 String getQuestionId()
          Gets the value of the questionId property.
 int hashCode()
           
 VmQuestionAnswer.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VmQuestionAnswer

protected VmQuestionAnswer()

VmQuestionAnswer

public VmQuestionAnswer(int choiceId,
                        String questionId)
Method Detail

builder

public static VmQuestionAnswer.Builder builder()

toBuilder

public VmQuestionAnswer.Builder toBuilder()

getChoiceId

public int getChoiceId()
Gets the value of the choiceId property.


getQuestionId

public String getQuestionId()
Gets the value of the questionId property.

Returns:
possible object is String

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


Copyright © 2009-2012 jclouds. All Rights Reserved.