public class DvsTrafficRule extends DynamicData
Java class for DvsTrafficRule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DvsTrafficRule">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="sequence" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="qualifier" type="{urn:vim25}DvsNetworkRuleQualifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="action" type="{urn:vim25}DvsNetworkRuleAction" minOccurs="0"/>
<element name="direction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DvsNetworkRuleAction |
action |
protected String |
description |
protected String |
direction |
protected String |
key |
protected List<DvsNetworkRuleQualifier> |
qualifier |
protected Integer |
sequence |
| Constructor and Description |
|---|
DvsTrafficRule() |
| Modifier and Type | Method and Description |
|---|---|
DvsNetworkRuleAction |
getAction()
Gets the value of the action property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getDirection()
Gets the value of the direction property.
|
String |
getKey()
Gets the value of the key property.
|
List<DvsNetworkRuleQualifier> |
getQualifier()
Gets the value of the qualifier property.
|
Integer |
getSequence()
Gets the value of the sequence property.
|
void |
setAction(DvsNetworkRuleAction value)
Sets the value of the action property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDirection(String value)
Sets the value of the direction property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setSequence(Integer value)
Sets the value of the sequence property.
|
protected String key
protected String description
protected Integer sequence
protected List<DvsNetworkRuleQualifier> qualifier
protected DvsNetworkRuleAction action
protected String direction
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic Integer getSequence()
Integerpublic void setSequence(Integer value)
value - allowed object is
Integerpublic List<DvsNetworkRuleQualifier> getQualifier()
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 qualifier property.
For example, to add a new item, do as follows:
getQualifier().add(newItem);
Objects of the following type(s) are allowed in the list
DvsNetworkRuleQualifier
public DvsNetworkRuleAction getAction()
DvsNetworkRuleActionpublic void setAction(DvsNetworkRuleAction value)
value - allowed object is
DvsNetworkRuleActionpublic String getDirection()
StringCopyright © 2018. All rights reserved.