![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VirtualSwitchProfile Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for VirtualSwitchProfile complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualSwitchProfile">
* <complexContent>
* <extension base="{urn:vim25}ApplyProfile">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="link" type="{urn:vim25}LinkProfile"/>
* <element name="numPorts" type="{urn:vim25}NumPortsProfile"/>
* <element name="networkPolicy" type="{urn:vim25}NetworkPolicyProfile"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualSwitchProfile", propOrder = {
"key",
"name",
"link",
"numPorts",
"networkPolicy"
})
public class VirtualSwitchProfile
extends ApplyProfile
{
@XmlElement(required = true)
protected String key;
@XmlElement(required = true)
protected String name;
@XmlElement(required = true)
protected LinkProfile link;
@XmlElement(required = true)
protected NumPortsProfile numPorts;
@XmlElement(required = true)
protected NetworkPolicyProfile networkPolicy;
/**
* 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 name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the link property.
*
* @return
* possible object is
* {@link LinkProfile }
*
*/
public LinkProfile getLink() {
return link;
}
/**
* Sets the value of the link property.
*
* @param value
* allowed object is
* {@link LinkProfile }
*
*/
public void setLink(LinkProfile value) {
this.link = value;
}
/**
* Gets the value of the numPorts property.
*
* @return
* possible object is
* {@link NumPortsProfile }
*
*/
public NumPortsProfile getNumPorts() {
return numPorts;
}
/**
* Sets the value of the numPorts property.
*
* @param value
* allowed object is
* {@link NumPortsProfile }
*
*/
public void setNumPorts(NumPortsProfile value) {
this.numPorts = value;
}
/**
* Gets the value of the networkPolicy property.
*
* @return
* possible object is
* {@link NetworkPolicyProfile }
*
*/
public NetworkPolicyProfile getNetworkPolicy() {
return networkPolicy;
}
/**
* Sets the value of the networkPolicy property.
*
* @param value
* allowed object is
* {@link NetworkPolicyProfile }
*
*/
public void setNetworkPolicy(NetworkPolicyProfile value) {
this.networkPolicy = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy