Class Trunk
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.component.network.vlan.Trunk
@ApiType("SoftLayer_Network_Component_Network_Vlan_Trunk") public class Trunk extends Entity
Represents the association between a Network_Component and Network_Vlan in the manner of a 'trunk'. Trunking a VLAN to a port allows that ports to receive and send packets tagged with the corresponding VLAN number.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Trunk.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Component
networkComponent
The network component that the VLAN is being trunked to.protected Long
networkComponentId
The network component's identifier.protected boolean
networkComponentIdSpecified
protected Vlan
networkVlan
The VLAN that is being trunked to the network component.protected Long
networkVlanId
The identifier of the network VLAN that is a trunk on the network component.protected boolean
networkVlanIdSpecified
-
Constructor Summary
Constructors Constructor Description Trunk()
-
Method Summary
Modifier and Type Method Description Component
getNetworkComponent()
Long
getNetworkComponentId()
Vlan
getNetworkVlan()
Long
getNetworkVlanId()
boolean
isNetworkComponentIdSpecified()
boolean
isNetworkVlanIdSpecified()
void
setNetworkComponent(Component networkComponent)
void
setNetworkComponentId(Long networkComponentId)
void
setNetworkVlan(Vlan networkVlan)
void
setNetworkVlanId(Long networkVlanId)
void
unsetNetworkComponentId()
void
unsetNetworkVlanId()
-
Field Details
-
networkComponent
The network component that the VLAN is being trunked to. -
networkVlan
The VLAN that is being trunked to the network component. -
networkComponentId
The network component's identifier. -
networkComponentIdSpecified
protected boolean networkComponentIdSpecified -
networkVlanId
The identifier of the network VLAN that is a trunk on the network component. -
networkVlanIdSpecified
protected boolean networkVlanIdSpecified
-
-
Constructor Details
-
Trunk
public Trunk()
-
-
Method Details
-
getNetworkComponent
-
setNetworkComponent
-
getNetworkVlan
-
setNetworkVlan
-
getNetworkComponentId
-
setNetworkComponentId
-
isNetworkComponentIdSpecified
public boolean isNetworkComponentIdSpecified() -
unsetNetworkComponentId
public void unsetNetworkComponentId() -
getNetworkVlanId
-
setNetworkVlanId
-
isNetworkVlanIdSpecified
public boolean isNetworkVlanIdSpecified() -
unsetNetworkVlanId
public void unsetNetworkVlanId()
-