
com.vmware.vim25.HostConfigSpec Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
package com.vmware.vim25;
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.XmlType;
/**
* Java class for HostConfigSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostConfigSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="nasDatastore" type="{urn:vim25}HostNasVolumeConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="network" type="{urn:vim25}HostNetworkConfig" minOccurs="0"/>
* <element name="nicTypeSelection" type="{urn:vim25}HostVirtualNicManagerNicTypeSelection" maxOccurs="unbounded" minOccurs="0"/>
* <element name="service" type="{urn:vim25}HostServiceConfig" maxOccurs="unbounded" minOccurs="0"/>
* <element name="firewall" type="{urn:vim25}HostFirewallConfig" minOccurs="0"/>
* <element name="option" type="{urn:vim25}OptionValue" maxOccurs="unbounded" minOccurs="0"/>
* <element name="datastorePrincipal" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="datastorePrincipalPasswd" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="datetime" type="{urn:vim25}HostDateTimeConfig" minOccurs="0"/>
* <element name="storageDevice" type="{urn:vim25}HostStorageDeviceInfo" minOccurs="0"/>
* <element name="license" type="{urn:vim25}HostLicenseSpec" minOccurs="0"/>
* <element name="security" type="{urn:vim25}HostSecuritySpec" minOccurs="0"/>
* <element name="userAccount" type="{urn:vim25}HostAccountSpec" maxOccurs="unbounded" minOccurs="0"/>
* <element name="usergroupAccount" type="{urn:vim25}HostAccountSpec" maxOccurs="unbounded" minOccurs="0"/>
* <element name="memory" type="{urn:vim25}HostMemorySpec" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostConfigSpec", propOrder = {
"nasDatastore",
"network",
"nicTypeSelection",
"service",
"firewall",
"option",
"datastorePrincipal",
"datastorePrincipalPasswd",
"datetime",
"storageDevice",
"license",
"security",
"userAccount",
"usergroupAccount",
"memory"
})
public class HostConfigSpec
extends DynamicData
{
protected List nasDatastore;
protected HostNetworkConfig network;
protected List nicTypeSelection;
protected List service;
protected HostFirewallConfig firewall;
protected List option;
protected String datastorePrincipal;
protected String datastorePrincipalPasswd;
protected HostDateTimeConfig datetime;
protected HostStorageDeviceInfo storageDevice;
protected HostLicenseSpec license;
protected HostSecuritySpec security;
protected List userAccount;
protected List usergroupAccount;
protected HostMemorySpec memory;
/**
* Gets the value of the nasDatastore 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 nasDatastore property.
*
*
* For example, to add a new item, do as follows:
*
* getNasDatastore().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostNasVolumeConfig }
*
*
*/
public List getNasDatastore() {
if (nasDatastore == null) {
nasDatastore = new ArrayList();
}
return this.nasDatastore;
}
/**
* Gets the value of the network property.
*
* @return
* possible object is
* {@link HostNetworkConfig }
*
*/
public HostNetworkConfig getNetwork() {
return network;
}
/**
* Sets the value of the network property.
*
* @param value
* allowed object is
* {@link HostNetworkConfig }
*
*/
public void setNetwork(HostNetworkConfig value) {
this.network = value;
}
/**
* Gets the value of the nicTypeSelection 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 nicTypeSelection property.
*
*
* For example, to add a new item, do as follows:
*
* getNicTypeSelection().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostVirtualNicManagerNicTypeSelection }
*
*
*/
public List getNicTypeSelection() {
if (nicTypeSelection == null) {
nicTypeSelection = new ArrayList();
}
return this.nicTypeSelection;
}
/**
* Gets the value of the service 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 service property.
*
*
* For example, to add a new item, do as follows:
*
* getService().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostServiceConfig }
*
*
*/
public List getService() {
if (service == null) {
service = new ArrayList();
}
return this.service;
}
/**
* Gets the value of the firewall property.
*
* @return
* possible object is
* {@link HostFirewallConfig }
*
*/
public HostFirewallConfig getFirewall() {
return firewall;
}
/**
* Sets the value of the firewall property.
*
* @param value
* allowed object is
* {@link HostFirewallConfig }
*
*/
public void setFirewall(HostFirewallConfig value) {
this.firewall = value;
}
/**
* Gets the value of the option 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 option property.
*
*
* For example, to add a new item, do as follows:
*
* getOption().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OptionValue }
*
*
*/
public List getOption() {
if (option == null) {
option = new ArrayList();
}
return this.option;
}
/**
* Gets the value of the datastorePrincipal property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDatastorePrincipal() {
return datastorePrincipal;
}
/**
* Sets the value of the datastorePrincipal property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDatastorePrincipal(String value) {
this.datastorePrincipal = value;
}
/**
* Gets the value of the datastorePrincipalPasswd property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDatastorePrincipalPasswd() {
return datastorePrincipalPasswd;
}
/**
* Sets the value of the datastorePrincipalPasswd property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDatastorePrincipalPasswd(String value) {
this.datastorePrincipalPasswd = value;
}
/**
* Gets the value of the datetime property.
*
* @return
* possible object is
* {@link HostDateTimeConfig }
*
*/
public HostDateTimeConfig getDatetime() {
return datetime;
}
/**
* Sets the value of the datetime property.
*
* @param value
* allowed object is
* {@link HostDateTimeConfig }
*
*/
public void setDatetime(HostDateTimeConfig value) {
this.datetime = value;
}
/**
* Gets the value of the storageDevice property.
*
* @return
* possible object is
* {@link HostStorageDeviceInfo }
*
*/
public HostStorageDeviceInfo getStorageDevice() {
return storageDevice;
}
/**
* Sets the value of the storageDevice property.
*
* @param value
* allowed object is
* {@link HostStorageDeviceInfo }
*
*/
public void setStorageDevice(HostStorageDeviceInfo value) {
this.storageDevice = value;
}
/**
* Gets the value of the license property.
*
* @return
* possible object is
* {@link HostLicenseSpec }
*
*/
public HostLicenseSpec getLicense() {
return license;
}
/**
* Sets the value of the license property.
*
* @param value
* allowed object is
* {@link HostLicenseSpec }
*
*/
public void setLicense(HostLicenseSpec value) {
this.license = value;
}
/**
* Gets the value of the security property.
*
* @return
* possible object is
* {@link HostSecuritySpec }
*
*/
public HostSecuritySpec getSecurity() {
return security;
}
/**
* Sets the value of the security property.
*
* @param value
* allowed object is
* {@link HostSecuritySpec }
*
*/
public void setSecurity(HostSecuritySpec value) {
this.security = value;
}
/**
* Gets the value of the userAccount 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 userAccount property.
*
*
* For example, to add a new item, do as follows:
*
* getUserAccount().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostAccountSpec }
*
*
*/
public List getUserAccount() {
if (userAccount == null) {
userAccount = new ArrayList();
}
return this.userAccount;
}
/**
* Gets the value of the usergroupAccount 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 usergroupAccount property.
*
*
* For example, to add a new item, do as follows:
*
* getUsergroupAccount().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HostAccountSpec }
*
*
*/
public List getUsergroupAccount() {
if (usergroupAccount == null) {
usergroupAccount = new ArrayList();
}
return this.usergroupAccount;
}
/**
* Gets the value of the memory property.
*
* @return
* possible object is
* {@link HostMemorySpec }
*
*/
public HostMemorySpec getMemory() {
return memory;
}
/**
* Sets the value of the memory property.
*
* @param value
* allowed object is
* {@link HostMemorySpec }
*
*/
public void setMemory(HostMemorySpec value) {
this.memory = value;
}
/**
* Sets the value of the nasDatastore property.
*
* @param nasDatastore
* allowed object is
* {@link HostNasVolumeConfig }
*
*/
public void setNasDatastore(List nasDatastore) {
this.nasDatastore = nasDatastore;
}
/**
* Sets the value of the nicTypeSelection property.
*
* @param nicTypeSelection
* allowed object is
* {@link HostVirtualNicManagerNicTypeSelection }
*
*/
public void setNicTypeSelection(List nicTypeSelection) {
this.nicTypeSelection = nicTypeSelection;
}
/**
* Sets the value of the service property.
*
* @param service
* allowed object is
* {@link HostServiceConfig }
*
*/
public void setService(List service) {
this.service = service;
}
/**
* Sets the value of the option property.
*
* @param option
* allowed object is
* {@link OptionValue }
*
*/
public void setOption(List option) {
this.option = option;
}
/**
* Sets the value of the userAccount property.
*
* @param userAccount
* allowed object is
* {@link HostAccountSpec }
*
*/
public void setUserAccount(List userAccount) {
this.userAccount = userAccount;
}
/**
* Sets the value of the usergroupAccount property.
*
* @param usergroupAccount
* allowed object is
* {@link HostAccountSpec }
*
*/
public void setUsergroupAccount(List usergroupAccount) {
this.usergroupAccount = usergroupAccount;
}
}