public class DvsTrafficRuleset extends DynamicData
Java class for DvsTrafficRuleset complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DvsTrafficRuleset">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="precedence" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="rules" type="{urn:vim25}DvsTrafficRule" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
enabled |
protected String |
key |
protected Integer |
precedence |
protected List<DvsTrafficRule> |
rules |
| Constructor and Description |
|---|
DvsTrafficRuleset() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the value of the key property.
|
Integer |
getPrecedence()
Gets the value of the precedence property.
|
List<DvsTrafficRule> |
getRules()
Gets the value of the rules property.
|
Boolean |
isEnabled()
Gets the value of the enabled property.
|
void |
setEnabled(Boolean value)
Sets the value of the enabled property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setPrecedence(Integer value)
Sets the value of the precedence property.
|
protected String key
protected Boolean enabled
protected Integer precedence
protected List<DvsTrafficRule> rules
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic Boolean isEnabled()
Booleanpublic void setEnabled(Boolean value)
value - allowed object is
Booleanpublic Integer getPrecedence()
Integerpublic void setPrecedence(Integer value)
value - allowed object is
Integerpublic List<DvsTrafficRule> getRules()
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 rules property.
For example, to add a new item, do as follows:
getRules().add(newItem);
Objects of the following type(s) are allowed in the list
DvsTrafficRule
Copyright © 2018. All rights reserved.