Class Interface
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.bandwidth.version1.Interface
-
@ApiType("SoftLayer_Network_Bandwidth_Version1_Interface") public class Interface extends Entity
[DEPRECATED] All bandwidth tracking is maintained through the switch that the bandwidth is used through. All bandwidth is stored in a "pod" repository. An interface links the hardware switch with the pod repository identification number. This is only relevant to bandwidth data. It is not common to use this.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Interface.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Host
host
[DEPRECATED] The host for an interface.protected Long
hostId
A interface's host.protected boolean
hostIdSpecified
protected Component
networkComponent
[DEPRECATED] The switch for an interface.protected Long
networkComponentId
The network component for this interface.protected boolean
networkComponentIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Interface()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Host
getHost()
Long
getHostId()
Component
getNetworkComponent()
Long
getNetworkComponentId()
boolean
isHostIdSpecified()
boolean
isNetworkComponentIdSpecified()
void
setHost(Host host)
void
setHostId(Long hostId)
void
setNetworkComponent(Component networkComponent)
void
setNetworkComponentId(Long networkComponentId)
void
unsetHostId()
void
unsetNetworkComponentId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
host
@ApiProperty protected Host host
[DEPRECATED] The host for an interface. This is not to be confused with SoftLayer Hardware
-
networkComponent
@ApiProperty protected Component networkComponent
[DEPRECATED] The switch for an interface.
-
hostId
@ApiProperty(canBeNullOrNotSet=true) protected Long hostId
A interface's host. The host stores the pod number for the bandwidth data.
-
hostIdSpecified
protected boolean hostIdSpecified
-
networkComponentId
@ApiProperty(canBeNullOrNotSet=true) protected Long networkComponentId
The network component for this interface.
-
networkComponentIdSpecified
protected boolean networkComponentIdSpecified
-
-
Method Detail
-
getHost
public Host getHost()
-
setHost
public void setHost(Host host)
-
getNetworkComponent
public Component getNetworkComponent()
-
setNetworkComponent
public void setNetworkComponent(Component networkComponent)
-
getHostId
public Long getHostId()
-
setHostId
public void setHostId(Long hostId)
-
isHostIdSpecified
public boolean isHostIdSpecified()
-
unsetHostId
public void unsetHostId()
-
getNetworkComponentId
public Long getNetworkComponentId()
-
setNetworkComponentId
public void setNetworkComponentId(Long networkComponentId)
-
isNetworkComponentIdSpecified
public boolean isNetworkComponentIdSpecified()
-
unsetNetworkComponentId
public void unsetNetworkComponentId()
-
-