public class ClusterRecommendation extends DynamicData
Java class for ClusterRecommendation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ClusterRecommendation">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="rating" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="reason" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="reasonText" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="warningText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="warningDetails" type="{urn:vim25}LocalizableMessage" minOccurs="0"/>
<element name="prerequisite" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="action" type="{urn:vim25}ClusterAction" maxOccurs="unbounded" minOccurs="0"/>
<element name="target" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ClusterAction> |
action |
protected String |
key |
protected List<String> |
prerequisite |
protected int |
rating |
protected String |
reason |
protected String |
reasonText |
protected ManagedObjectReference |
target |
protected XMLGregorianCalendar |
time |
protected String |
type |
protected LocalizableMessage |
warningDetails |
protected String |
warningText |
| Constructor and Description |
|---|
ClusterRecommendation() |
| Modifier and Type | Method and Description |
|---|---|
List<ClusterAction> |
getAction()
Gets the value of the action property.
|
String |
getKey()
Gets the value of the key property.
|
List<String> |
getPrerequisite()
Gets the value of the prerequisite property.
|
int |
getRating()
Gets the value of the rating property.
|
String |
getReason()
Gets the value of the reason property.
|
String |
getReasonText()
Gets the value of the reasonText property.
|
ManagedObjectReference |
getTarget()
Gets the value of the target property.
|
XMLGregorianCalendar |
getTime()
Gets the value of the time property.
|
String |
getType()
Gets the value of the type property.
|
LocalizableMessage |
getWarningDetails()
Gets the value of the warningDetails property.
|
String |
getWarningText()
Gets the value of the warningText property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setRating(int value)
Sets the value of the rating property.
|
void |
setReason(String value)
Sets the value of the reason property.
|
void |
setReasonText(String value)
Sets the value of the reasonText property.
|
void |
setTarget(ManagedObjectReference value)
Sets the value of the target property.
|
void |
setTime(XMLGregorianCalendar value)
Sets the value of the time property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setWarningDetails(LocalizableMessage value)
Sets the value of the warningDetails property.
|
void |
setWarningText(String value)
Sets the value of the warningText property.
|
protected String key
protected String type
protected XMLGregorianCalendar time
protected int rating
protected String reason
protected String reasonText
protected String warningText
protected LocalizableMessage warningDetails
protected List<ClusterAction> action
protected ManagedObjectReference target
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getTime()
XMLGregorianCalendarpublic void setTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic int getRating()
public void setRating(int value)
public String getReason()
Stringpublic void setReason(String value)
value - allowed object is
Stringpublic String getReasonText()
Stringpublic void setReasonText(String value)
value - allowed object is
Stringpublic String getWarningText()
Stringpublic void setWarningText(String value)
value - allowed object is
Stringpublic LocalizableMessage getWarningDetails()
LocalizableMessagepublic void setWarningDetails(LocalizableMessage value)
value - allowed object is
LocalizableMessagepublic List<String> getPrerequisite()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the prerequisite property.
For example, to add a new item, do as follows:
getPrerequisite().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<ClusterAction> getAction()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the action property.
For example, to add a new item, do as follows:
getAction().add(newItem);
Objects of the following type(s) are allowed in the list
ClusterAction
public ManagedObjectReference getTarget()
ManagedObjectReferencepublic void setTarget(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferenceCopyright © 2018. All rights reserved.