public class NetIpConfigSpec extends DynamicData
Java class for NetIpConfigSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NetIpConfigSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="ipAddress" type="{urn:vim25}NetIpConfigSpecIpAddressSpec" maxOccurs="unbounded" minOccurs="0"/>
<element name="dhcp" type="{urn:vim25}NetDhcpConfigSpec" minOccurs="0"/>
<element name="autoConfigurationEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
autoConfigurationEnabled |
protected NetDhcpConfigSpec |
dhcp |
protected List<NetIpConfigSpecIpAddressSpec> |
ipAddress |
| Constructor and Description |
|---|
NetIpConfigSpec() |
| Modifier and Type | Method and Description |
|---|---|
NetDhcpConfigSpec |
getDhcp()
Gets the value of the dhcp property.
|
List<NetIpConfigSpecIpAddressSpec> |
getIpAddress()
Gets the value of the ipAddress property.
|
Boolean |
isAutoConfigurationEnabled()
Gets the value of the autoConfigurationEnabled property.
|
void |
setAutoConfigurationEnabled(Boolean value)
Sets the value of the autoConfigurationEnabled property.
|
void |
setDhcp(NetDhcpConfigSpec value)
Sets the value of the dhcp property.
|
protected List<NetIpConfigSpecIpAddressSpec> ipAddress
protected NetDhcpConfigSpec dhcp
protected Boolean autoConfigurationEnabled
public List<NetIpConfigSpecIpAddressSpec> getIpAddress()
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 ipAddress property.
For example, to add a new item, do as follows:
getIpAddress().add(newItem);
Objects of the following type(s) are allowed in the list
NetIpConfigSpecIpAddressSpec
public NetDhcpConfigSpec getDhcp()
NetDhcpConfigSpecpublic void setDhcp(NetDhcpConfigSpec value)
value - allowed object is
NetDhcpConfigSpecpublic Boolean isAutoConfigurationEnabled()
BooleanCopyright © 2018. All rights reserved.