
com.vmware.vim.HostNetCapabilities Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
package com.vmware.vim;
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 HostNetCapabilities complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostNetCapabilities">
* <complexContent>
* <extension base="{urn:vim2}DynamicData">
* <sequence>
* <element name="canSetPhysicalNicLinkSpeed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="supportsNicTeaming" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="nicTeamingPolicy" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="supportsVlan" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="usesServiceConsoleNic" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="supportsNetworkHints" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostNetCapabilities", propOrder = {
"canSetPhysicalNicLinkSpeed",
"supportsNicTeaming",
"nicTeamingPolicy",
"supportsVlan",
"usesServiceConsoleNic",
"supportsNetworkHints"
})
public class HostNetCapabilities
extends DynamicData
{
protected boolean canSetPhysicalNicLinkSpeed;
protected boolean supportsNicTeaming;
protected List nicTeamingPolicy;
protected boolean supportsVlan;
protected boolean usesServiceConsoleNic;
protected boolean supportsNetworkHints;
/**
* Gets the value of the canSetPhysicalNicLinkSpeed property.
*
*/
public boolean isCanSetPhysicalNicLinkSpeed() {
return canSetPhysicalNicLinkSpeed;
}
/**
* Sets the value of the canSetPhysicalNicLinkSpeed property.
*
*/
public void setCanSetPhysicalNicLinkSpeed(boolean value) {
this.canSetPhysicalNicLinkSpeed = value;
}
/**
* Gets the value of the supportsNicTeaming property.
*
*/
public boolean isSupportsNicTeaming() {
return supportsNicTeaming;
}
/**
* Sets the value of the supportsNicTeaming property.
*
*/
public void setSupportsNicTeaming(boolean value) {
this.supportsNicTeaming = value;
}
/**
* Gets the value of the nicTeamingPolicy 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 nicTeamingPolicy property.
*
*
* For example, to add a new item, do as follows:
*
* getNicTeamingPolicy().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNicTeamingPolicy() {
if (nicTeamingPolicy == null) {
nicTeamingPolicy = new ArrayList();
}
return this.nicTeamingPolicy;
}
/**
* Gets the value of the supportsVlan property.
*
*/
public boolean isSupportsVlan() {
return supportsVlan;
}
/**
* Sets the value of the supportsVlan property.
*
*/
public void setSupportsVlan(boolean value) {
this.supportsVlan = value;
}
/**
* Gets the value of the usesServiceConsoleNic property.
*
*/
public boolean isUsesServiceConsoleNic() {
return usesServiceConsoleNic;
}
/**
* Sets the value of the usesServiceConsoleNic property.
*
*/
public void setUsesServiceConsoleNic(boolean value) {
this.usesServiceConsoleNic = value;
}
/**
* Gets the value of the supportsNetworkHints property.
*
*/
public boolean isSupportsNetworkHints() {
return supportsNetworkHints;
}
/**
* Sets the value of the supportsNetworkHints property.
*
*/
public void setSupportsNetworkHints(boolean value) {
this.supportsNetworkHints = value;
}
/**
* Sets the value of the nicTeamingPolicy property.
*
* @param nicTeamingPolicy
* allowed object is
* {@link String }
*
*/
public void setNicTeamingPolicy(List nicTeamingPolicy) {
this.nicTeamingPolicy = nicTeamingPolicy;
}
}