
com.vmware.vim.HostConnectInfo Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
package com.vmware.vim;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for HostConnectInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostConnectInfo">
* <complexContent>
* <extension base="{urn:vim2}DynamicData">
* <sequence>
* <element name="serverIp" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="host" type="{urn:vim2}HostListSummary"/>
* <element name="vm" type="{urn:vim2}VirtualMachineSummary" maxOccurs="unbounded" minOccurs="0"/>
* <element name="vimAccountNameRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="clusterSupported" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="network" type="{urn:vim2}HostConnectInfoNetworkInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="datastore" type="{urn:vim2}HostDatastoreConnectInfo" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostConnectInfo", propOrder = {
"serverIp",
"host",
"vm",
"vimAccountNameRequired",
"clusterSupported",
"network",
"datastore"
})
public class HostConnectInfo
extends DynamicData
{
protected String serverIp;
@XmlElement(required = true)
protected HostListSummary host;
protected List vm;
protected Boolean vimAccountNameRequired;
protected Boolean clusterSupported;
protected List network;
protected List datastore;
/**
* Gets the value of the serverIp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServerIp() {
return serverIp;
}
/**
* Sets the value of the serverIp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServerIp(String value) {
this.serverIp = value;
}
/**
* Gets the value of the host property.
*
* @return
* possible object is
* {@link HostListSummary }
*
*/
public HostListSummary getHost() {
return host;
}
/**
* Sets the value of the host property.
*
* @param value
* allowed object is
* {@link HostListSummary }
*
*/
public void setHost(HostListSummary value) {
this.host = value;
}
/**
* Gets the value of the vm property.
*
*
* 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 vm property.
*
*
* For example, to add a new item, do as follows:
*
* getVm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualMachineSummary }
*
*
*/
public List getVm() {
if (vm == null) {
vm = new ArrayList();
}
return this.vm;
}
/**
* Gets the value of the vimAccountNameRequired property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isVimAccountNameRequired() {
return vimAccountNameRequired;
}
/**
* Sets the value of the vimAccountNameRequired property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setVimAccountNameRequired(Boolean value) {
this.vimAccountNameRequired = value;
}
/**
* Gets the value of the clusterSupported property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isClusterSupported() {
return clusterSupported;
}
/**
* Sets the value of the clusterSupported property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setClusterSupported(Boolean value) {
this.clusterSupported = value;
}
/**
* Gets the value of the network property.
*
*
* 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 network property.
*
*
* For example, to add a new item, do as follows:
*
* getNetwork().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostConnectInfoNetworkInfo }
*
*
*/
public List getNetwork() {
if (network == null) {
network = new ArrayList();
}
return this.network;
}
/**
* Gets the value of the datastore property.
*
*
* 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 datastore property.
*
*
* For example, to add a new item, do as follows:
*
* getDatastore().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostDatastoreConnectInfo }
*
*
*/
public List getDatastore() {
if (datastore == null) {
datastore = new ArrayList();
}
return this.datastore;
}
/**
* Sets the value of the vm property.
*
* @param vm
* allowed object is
* {@link VirtualMachineSummary }
*
*/
public void setVm(List vm) {
this.vm = vm;
}
/**
* Sets the value of the network property.
*
* @param network
* allowed object is
* {@link HostConnectInfoNetworkInfo }
*
*/
public void setNetwork(List network) {
this.network = network;
}
/**
* Sets the value of the datastore property.
*
* @param datastore
* allowed object is
* {@link HostDatastoreConnectInfo }
*
*/
public void setDatastore(List datastore) {
this.datastore = datastore;
}
}