Package org.opennms.netmgt.model
Class NetworkBuilder.InterfaceBuilder
- java.lang.Object
-
- org.opennms.netmgt.model.NetworkBuilder.InterfaceBuilder
-
- Enclosing class:
- NetworkBuilder
public static class NetworkBuilder.InterfaceBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SnmpInterfaceBuilder
addSnmpInterface(int ifIndex)
Deprecated.Create the SNMP Interface first, and then useSnmpInterfaceBuilder.addIpInterface(String)
to add IP Interfaces.OnmsIpInterface
getInterface()
NetworkBuilder.InterfaceBuilder
setId(int id)
NetworkBuilder.InterfaceBuilder
setIsManaged(String managed)
NetworkBuilder.InterfaceBuilder
setIsSnmpPrimary(String isSnmpPrimary)
NetworkBuilder.InterfaceBuilder
setNetMask(String mask)
NetworkBuilder.InterfaceBuilder
setNetMask(InetAddress mask)
-
-
-
Method Detail
-
setNetMask
public NetworkBuilder.InterfaceBuilder setNetMask(InetAddress mask)
-
setNetMask
public NetworkBuilder.InterfaceBuilder setNetMask(String mask)
-
setIsManaged
public NetworkBuilder.InterfaceBuilder setIsManaged(String managed)
-
setIsSnmpPrimary
public NetworkBuilder.InterfaceBuilder setIsSnmpPrimary(String isSnmpPrimary)
-
getInterface
public OnmsIpInterface getInterface()
-
addSnmpInterface
@Deprecated public SnmpInterfaceBuilder addSnmpInterface(int ifIndex)
Deprecated.Create the SNMP Interface first, and then useSnmpInterfaceBuilder.addIpInterface(String)
to add IP Interfaces.- Parameters:
ifIndex
- the ifIndex- Returns:
- an SnmpInterfaceBuilder
-
setId
public NetworkBuilder.InterfaceBuilder setId(int id)
-
-