![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.DVPortgroupConfigInfo Maven / Gradle / Ivy
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for DVPortgroupConfigInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DVPortgroupConfigInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="numPorts" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="distributedVirtualSwitch" type="{urn:vim25}ManagedObjectReference" 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"/>
* <element name="policy" type="{urn:vim25}DVPortgroupPolicy"/>
* <element name="portNameFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="scope" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
* <element name="vendorSpecificConfig" type="{urn:vim25}DistributedVirtualSwitchKeyedOpaqueBlob" maxOccurs="unbounded" minOccurs="0"/>
* <element name="configVersion" type="{http://www.w3.org/2001/XMLSchema}string" 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"/>
* <element name="uplink" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DVPortgroupConfigInfo", propOrder = {
"key",
"name",
"numPorts",
"distributedVirtualSwitch",
"defaultPortConfig",
"description",
"type",
"policy",
"portNameFormat",
"scope",
"vendorSpecificConfig",
"configVersion",
"autoExpand",
"vmVnicNetworkResourcePoolKey",
"uplink"
})
public class DVPortgroupConfigInfo
extends DynamicData
{
@XmlElement(required = true)
protected String key;
@XmlElement(required = true)
protected String name;
protected int numPorts;
protected ManagedObjectReference distributedVirtualSwitch;
protected DVPortSetting defaultPortConfig;
protected String description;
@XmlElement(required = true)
protected String type;
@XmlElement(required = true)
protected DVPortgroupPolicy policy;
protected String portNameFormat;
protected List scope;
protected List vendorSpecificConfig;
protected String configVersion;
protected Boolean autoExpand;
protected String vmVnicNetworkResourcePoolKey;
protected Boolean uplink;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the numPorts property.
*
*/
public int getNumPorts() {
return numPorts;
}
/**
* Sets the value of the numPorts property.
*
*/
public void setNumPorts(int value) {
this.numPorts = value;
}
/**
* Gets the value of the distributedVirtualSwitch property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getDistributedVirtualSwitch() {
return distributedVirtualSwitch;
}
/**
* Sets the value of the distributedVirtualSwitch property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setDistributedVirtualSwitch(ManagedObjectReference value) {
this.distributedVirtualSwitch = value;
}
/**
* Gets the value of the defaultPortConfig property.
*
* @return
* possible object is
* {@link DVPortSetting }
*
*/
public DVPortSetting getDefaultPortConfig() {
return defaultPortConfig;
}
/**
* Sets the value of the defaultPortConfig property.
*
* @param value
* allowed object is
* {@link DVPortSetting }
*
*/
public void setDefaultPortConfig(DVPortSetting value) {
this.defaultPortConfig = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the policy property.
*
* @return
* possible object is
* {@link DVPortgroupPolicy }
*
*/
public DVPortgroupPolicy getPolicy() {
return policy;
}
/**
* Sets the value of the policy property.
*
* @param value
* allowed object is
* {@link DVPortgroupPolicy }
*
*/
public void setPolicy(DVPortgroupPolicy value) {
this.policy = value;
}
/**
* Gets the value of the portNameFormat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPortNameFormat() {
return portNameFormat;
}
/**
* Sets the value of the portNameFormat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPortNameFormat(String value) {
this.portNameFormat = value;
}
/**
* Gets the value of the scope 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 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
* {@link ManagedObjectReference }
*
*
*/
public List getScope() {
if (scope == null) {
scope = new ArrayList();
}
return this.scope;
}
/**
* Gets the value of the vendorSpecificConfig 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 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
* {@link DistributedVirtualSwitchKeyedOpaqueBlob }
*
*
*/
public List getVendorSpecificConfig() {
if (vendorSpecificConfig == null) {
vendorSpecificConfig = new ArrayList();
}
return this.vendorSpecificConfig;
}
/**
* Gets the value of the configVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getConfigVersion() {
return configVersion;
}
/**
* Sets the value of the configVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setConfigVersion(String value) {
this.configVersion = value;
}
/**
* Gets the value of the autoExpand property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAutoExpand() {
return autoExpand;
}
/**
* Sets the value of the autoExpand property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAutoExpand(Boolean value) {
this.autoExpand = value;
}
/**
* Gets the value of the vmVnicNetworkResourcePoolKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVmVnicNetworkResourcePoolKey() {
return vmVnicNetworkResourcePoolKey;
}
/**
* Sets the value of the vmVnicNetworkResourcePoolKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVmVnicNetworkResourcePoolKey(String value) {
this.vmVnicNetworkResourcePoolKey = value;
}
/**
* Gets the value of the uplink property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUplink() {
return uplink;
}
/**
* Sets the value of the uplink property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUplink(Boolean value) {
this.uplink = value;
}
}