![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.DistributedVirtualSwitchPortCriteria 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.XmlType;
/**
* Java class for DistributedVirtualSwitchPortCriteria complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DistributedVirtualSwitchPortCriteria">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="connected" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="uplinkPort" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="scope" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
* <element name="portgroupKey" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="inside" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="portKey" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="host" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DistributedVirtualSwitchPortCriteria", propOrder = {
"connected",
"active",
"uplinkPort",
"scope",
"portgroupKey",
"inside",
"portKey",
"host"
})
public class DistributedVirtualSwitchPortCriteria
extends DynamicData
{
protected Boolean connected;
protected Boolean active;
protected Boolean uplinkPort;
protected ManagedObjectReference scope;
protected List portgroupKey;
protected Boolean inside;
protected List portKey;
protected List host;
/**
* Gets the value of the connected property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isConnected() {
return connected;
}
/**
* Sets the value of the connected property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setConnected(Boolean value) {
this.connected = value;
}
/**
* Gets the value of the active property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isActive() {
return active;
}
/**
* Sets the value of the active property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setActive(Boolean value) {
this.active = value;
}
/**
* Gets the value of the uplinkPort property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUplinkPort() {
return uplinkPort;
}
/**
* Sets the value of the uplinkPort property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUplinkPort(Boolean value) {
this.uplinkPort = value;
}
/**
* Gets the value of the scope property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getScope() {
return scope;
}
/**
* Sets the value of the scope property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setScope(ManagedObjectReference value) {
this.scope = value;
}
/**
* Gets the value of the portgroupKey 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 portgroupKey property.
*
*
* For example, to add a new item, do as follows:
*
* getPortgroupKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPortgroupKey() {
if (portgroupKey == null) {
portgroupKey = new ArrayList();
}
return this.portgroupKey;
}
/**
* Gets the value of the inside property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isInside() {
return inside;
}
/**
* Sets the value of the inside property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInside(Boolean value) {
this.inside = value;
}
/**
* Gets the value of the portKey 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 portKey property.
*
*
* For example, to add a new item, do as follows:
*
* getPortKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPortKey() {
if (portKey == null) {
portKey = new ArrayList();
}
return this.portKey;
}
/**
* Gets the value of the host 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 host property.
*
*
* For example, to add a new item, do as follows:
*
* getHost().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManagedObjectReference }
*
*
*/
public List getHost() {
if (host == null) {
host = new ArrayList();
}
return this.host;
}
}