public class DVPortgroupConfigSpec extends DynamicData
Java class for DVPortgroupConfigSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DVPortgroupConfigSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="configVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="numPorts" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="portNameFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="defaultPortConfig" type="{urn:vim25}DVPortSetting" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="scope" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
<element name="policy" type="{urn:vim25}DVPortgroupPolicy" minOccurs="0"/>
<element name="vendorSpecificConfig" type="{urn:vim25}DistributedVirtualSwitchKeyedOpaqueBlob" maxOccurs="unbounded" minOccurs="0"/>
<element name="autoExpand" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="vmVnicNetworkResourcePoolKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
autoExpand |
protected String |
configVersion |
protected DVPortSetting |
defaultPortConfig |
protected String |
description |
protected String |
name |
protected Integer |
numPorts |
protected DVPortgroupPolicy |
policy |
protected String |
portNameFormat |
protected List<ManagedObjectReference> |
scope |
protected String |
type |
protected List<DistributedVirtualSwitchKeyedOpaqueBlob> |
vendorSpecificConfig |
protected String |
vmVnicNetworkResourcePoolKey |
| Constructor and Description |
|---|
DVPortgroupConfigSpec() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigVersion()
Gets the value of the configVersion property.
|
DVPortSetting |
getDefaultPortConfig()
Gets the value of the defaultPortConfig property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getName()
Gets the value of the name property.
|
Integer |
getNumPorts()
Gets the value of the numPorts property.
|
DVPortgroupPolicy |
getPolicy()
Gets the value of the policy property.
|
String |
getPortNameFormat()
Gets the value of the portNameFormat property.
|
List<ManagedObjectReference> |
getScope()
Gets the value of the scope property.
|
String |
getType()
Gets the value of the type property.
|
List<DistributedVirtualSwitchKeyedOpaqueBlob> |
getVendorSpecificConfig()
Gets the value of the vendorSpecificConfig property.
|
String |
getVmVnicNetworkResourcePoolKey()
Gets the value of the vmVnicNetworkResourcePoolKey property.
|
Boolean |
isAutoExpand()
Gets the value of the autoExpand property.
|
void |
setAutoExpand(Boolean value)
Sets the value of the autoExpand property.
|
void |
setConfigVersion(String value)
Sets the value of the configVersion property.
|
void |
setDefaultPortConfig(DVPortSetting value)
Sets the value of the defaultPortConfig property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNumPorts(Integer value)
Sets the value of the numPorts property.
|
void |
setPolicy(DVPortgroupPolicy value)
Sets the value of the policy property.
|
void |
setPortNameFormat(String value)
Sets the value of the portNameFormat property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setVmVnicNetworkResourcePoolKey(String value)
Sets the value of the vmVnicNetworkResourcePoolKey property.
|
protected String configVersion
protected String name
protected Integer numPorts
protected String portNameFormat
protected DVPortSetting defaultPortConfig
protected String description
protected String type
protected List<ManagedObjectReference> scope
protected DVPortgroupPolicy policy
protected List<DistributedVirtualSwitchKeyedOpaqueBlob> vendorSpecificConfig
protected Boolean autoExpand
protected String vmVnicNetworkResourcePoolKey
public String getConfigVersion()
Stringpublic void setConfigVersion(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Integer getNumPorts()
Integerpublic void setNumPorts(Integer value)
value - allowed object is
Integerpublic String getPortNameFormat()
Stringpublic void setPortNameFormat(String value)
value - allowed object is
Stringpublic DVPortSetting getDefaultPortConfig()
DVPortSettingpublic void setDefaultPortConfig(DVPortSetting value)
value - allowed object is
DVPortSettingpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic List<ManagedObjectReference> getScope()
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 scope property.
For example, to add a new item, do as follows:
getScope().add(newItem);
Objects of the following type(s) are allowed in the list
ManagedObjectReference
public DVPortgroupPolicy getPolicy()
DVPortgroupPolicypublic void setPolicy(DVPortgroupPolicy value)
value - allowed object is
DVPortgroupPolicypublic List<DistributedVirtualSwitchKeyedOpaqueBlob> getVendorSpecificConfig()
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 vendorSpecificConfig property.
For example, to add a new item, do as follows:
getVendorSpecificConfig().add(newItem);
Objects of the following type(s) are allowed in the list
DistributedVirtualSwitchKeyedOpaqueBlob
public Boolean isAutoExpand()
Booleanpublic void setAutoExpand(Boolean value)
value - allowed object is
Booleanpublic String getVmVnicNetworkResourcePoolKey()
StringCopyright © 2018. All rights reserved.