com.vmware.vim25.DistributedVirtualSwitchHostMemberConfigInfo 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 DistributedVirtualSwitchHostMemberConfigInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DistributedVirtualSwitchHostMemberConfigInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="host" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
* <element name="maxProxySwitchPorts" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="vendorSpecificConfig" type="{urn:vim25}DistributedVirtualSwitchKeyedOpaqueBlob" maxOccurs="unbounded" minOccurs="0"/>
* <element name="backing" type="{urn:vim25}DistributedVirtualSwitchHostMemberBacking"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DistributedVirtualSwitchHostMemberConfigInfo", propOrder = {
"host",
"maxProxySwitchPorts",
"vendorSpecificConfig",
"backing"
})
public class DistributedVirtualSwitchHostMemberConfigInfo
extends DynamicData
{
protected ManagedObjectReference host;
protected int maxProxySwitchPorts;
protected List vendorSpecificConfig;
@XmlElement(required = true)
protected DistributedVirtualSwitchHostMemberBacking backing;
/**
* Gets the value of the host property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getHost() {
return host;
}
/**
* Sets the value of the host property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setHost(ManagedObjectReference value) {
this.host = value;
}
/**
* Gets the value of the maxProxySwitchPorts property.
*
*/
public int getMaxProxySwitchPorts() {
return maxProxySwitchPorts;
}
/**
* Sets the value of the maxProxySwitchPorts property.
*
*/
public void setMaxProxySwitchPorts(int value) {
this.maxProxySwitchPorts = value;
}
/**
* 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 backing property.
*
* @return
* possible object is
* {@link DistributedVirtualSwitchHostMemberBacking }
*
*/
public DistributedVirtualSwitchHostMemberBacking getBacking() {
return backing;
}
/**
* Sets the value of the backing property.
*
* @param value
* allowed object is
* {@link DistributedVirtualSwitchHostMemberBacking }
*
*/
public void setBacking(DistributedVirtualSwitchHostMemberBacking value) {
this.backing = value;
}
}