public class HostPortGroup extends DynamicData
Java class for HostPortGroup complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostPortGroup">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="port" type="{urn:vim25}HostPortGroupPort" maxOccurs="unbounded" minOccurs="0"/>
<element name="vswitch" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="computedPolicy" type="{urn:vim25}HostNetworkPolicy"/>
<element name="spec" type="{urn:vim25}HostPortGroupSpec"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected HostNetworkPolicy |
computedPolicy |
protected String |
key |
protected List<HostPortGroupPort> |
port |
protected HostPortGroupSpec |
spec |
protected String |
vswitch |
| Constructor and Description |
|---|
HostPortGroup() |
| Modifier and Type | Method and Description |
|---|---|
HostNetworkPolicy |
getComputedPolicy()
Gets the value of the computedPolicy property.
|
String |
getKey()
Gets the value of the key property.
|
List<HostPortGroupPort> |
getPort()
Gets the value of the port property.
|
HostPortGroupSpec |
getSpec()
Gets the value of the spec property.
|
String |
getVswitch()
Gets the value of the vswitch property.
|
void |
setComputedPolicy(HostNetworkPolicy value)
Sets the value of the computedPolicy property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setSpec(HostPortGroupSpec value)
Sets the value of the spec property.
|
void |
setVswitch(String value)
Sets the value of the vswitch property.
|
protected String key
protected List<HostPortGroupPort> port
protected String vswitch
protected HostNetworkPolicy computedPolicy
protected HostPortGroupSpec spec
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic List<HostPortGroupPort> getPort()
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 port property.
For example, to add a new item, do as follows:
getPort().add(newItem);
Objects of the following type(s) are allowed in the list
HostPortGroupPort
public String getVswitch()
Stringpublic void setVswitch(String value)
value - allowed object is
Stringpublic HostNetworkPolicy getComputedPolicy()
HostNetworkPolicypublic void setComputedPolicy(HostNetworkPolicy value)
value - allowed object is
HostNetworkPolicypublic HostPortGroupSpec getSpec()
HostPortGroupSpecpublic void setSpec(HostPortGroupSpec value)
value - allowed object is
HostPortGroupSpecCopyright © 2018. All rights reserved.