All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.DvsTrafficRule Maven / Gradle / Ivy

The newest version!

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 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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DvsTrafficRule", propOrder = { "key", "description", "sequence", "qualifier", "action", "direction" }) public class DvsTrafficRule extends DynamicData { protected String key; protected String description; protected Integer sequence; protected List qualifier; protected DvsNetworkRuleAction action; protected String direction; /** * Gets the value of the key property. * * @return * possible object is * {@link String } * */ public String getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link String } * */ public void setKey(String value) { this.key = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the sequence property. * * @return * possible object is * {@link Integer } * */ public Integer getSequence() { return sequence; } /** * Sets the value of the sequence property. * * @param value * allowed object is * {@link Integer } * */ public void setSequence(Integer value) { this.sequence = value; } /** * Gets the value of the qualifier 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 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 * {@link DvsNetworkRuleQualifier } * * */ public List getQualifier() { if (qualifier == null) { qualifier = new ArrayList(); } return this.qualifier; } /** * Gets the value of the action property. * * @return * possible object is * {@link DvsNetworkRuleAction } * */ public DvsNetworkRuleAction getAction() { return action; } /** * Sets the value of the action property. * * @param value * allowed object is * {@link DvsNetworkRuleAction } * */ public void setAction(DvsNetworkRuleAction value) { this.action = value; } /** * Gets the value of the direction property. * * @return * possible object is * {@link String } * */ public String getDirection() { return direction; } /** * Sets the value of the direction property. * * @param value * allowed object is * {@link String } * */ public void setDirection(String value) { this.direction = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy