public class IORMNotSupportedHostOnDatastore extends VimFault
Java class for IORMNotSupportedHostOnDatastore complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="IORMNotSupportedHostOnDatastore">
<complexContent>
<extension base="{urn:vim25}VimFault">
<sequence>
<element name="datastore" type="{urn:vim25}ManagedObjectReference"/>
<element name="datastoreName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="host" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
datastore |
protected String |
datastoreName |
protected List<ManagedObjectReference> |
host |
faultCause, faultMessage| Constructor and Description |
|---|
IORMNotSupportedHostOnDatastore() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getDatastore()
Gets the value of the datastore property.
|
String |
getDatastoreName()
Gets the value of the datastoreName property.
|
List<ManagedObjectReference> |
getHost()
Gets the value of the host property.
|
void |
setDatastore(ManagedObjectReference value)
Sets the value of the datastore property.
|
void |
setDatastoreName(String value)
Sets the value of the datastoreName property.
|
getFaultCause, getFaultMessage, setFaultCauseprotected ManagedObjectReference datastore
protected String datastoreName
protected List<ManagedObjectReference> host
public ManagedObjectReference getDatastore()
ManagedObjectReferencepublic void setDatastore(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getDatastoreName()
Stringpublic void setDatastoreName(String value)
value - allowed object is
Stringpublic List<ManagedObjectReference> getHost()
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 host property.
For example, to add a new item, do as follows:
getHost().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedObjectReference
Copyright © 2018. All rights reserved.