public class VirtualUSB extends VirtualDevice
Java class for VirtualUSB complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualUSB">
<complexContent>
<extension base="{urn:vim25}VirtualDevice">
<sequence>
<element name="connected" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="vendor" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="product" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="family" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="speed" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
connected |
protected List<String> |
family |
protected Integer |
product |
protected List<String> |
speed |
protected Integer |
vendor |
backing, connectable, controllerKey, deviceInfo, key, slotInfo, unitNumber| Constructor and Description |
|---|
VirtualUSB() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFamily()
Gets the value of the family property.
|
Integer |
getProduct()
Gets the value of the product property.
|
List<String> |
getSpeed()
Gets the value of the speed property.
|
Integer |
getVendor()
Gets the value of the vendor property.
|
boolean |
isConnected()
Gets the value of the connected property.
|
void |
setConnected(boolean value)
Sets the value of the connected property.
|
void |
setProduct(Integer value)
Sets the value of the product property.
|
void |
setVendor(Integer value)
Sets the value of the vendor property.
|
getBacking, getConnectable, getControllerKey, getDeviceInfo, getKey, getSlotInfo, getUnitNumber, setBacking, setConnectable, setControllerKey, setDeviceInfo, setKey, setSlotInfo, setUnitNumberprotected boolean connected
protected Integer vendor
protected Integer product
public boolean isConnected()
public void setConnected(boolean value)
public Integer getVendor()
Integerpublic void setVendor(Integer value)
value - allowed object is
Integerpublic Integer getProduct()
Integerpublic void setProduct(Integer value)
value - allowed object is
Integerpublic List<String> getFamily()
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 family property.
For example, to add a new item, do as follows:
getFamily().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getSpeed()
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 speed property.
For example, to add a new item, do as follows:
getSpeed().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2018. All rights reserved.