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.
See Also:
SoftLayer_Network_Component_Network_Vlan_Trunk
  • Field Details

    • networkComponent

      @ApiProperty protected Component networkComponent
      The network component that the VLAN is being trunked to.
    • networkVlan

      @ApiProperty protected Vlan networkVlan
      The VLAN that is being trunked to the network component.
    • networkComponentId

      @ApiProperty(canBeNullOrNotSet=true) protected Long networkComponentId
      The network component's identifier.
    • networkComponentIdSpecified

      protected boolean networkComponentIdSpecified
    • networkVlanId

      @ApiProperty(canBeNullOrNotSet=true) protected Long 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

      public Component getNetworkComponent()
    • setNetworkComponent

      public void setNetworkComponent​(Component networkComponent)
    • getNetworkVlan

      public Vlan getNetworkVlan()
    • setNetworkVlan

      public void setNetworkVlan​(Vlan networkVlan)
    • getNetworkComponentId

      public Long getNetworkComponentId()
    • setNetworkComponentId

      public void setNetworkComponentId​(Long networkComponentId)
    • isNetworkComponentIdSpecified

      public boolean isNetworkComponentIdSpecified()
    • unsetNetworkComponentId

      public void unsetNetworkComponentId()
    • getNetworkVlanId

      public Long getNetworkVlanId()
    • setNetworkVlanId

      public void setNetworkVlanId​(Long networkVlanId)
    • isNetworkVlanIdSpecified

      public boolean isNetworkVlanIdSpecified()
    • unsetNetworkVlanId

      public void unsetNetworkVlanId()