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