Package org.opennms.netmgt.model
Class SnmpInterfaceBuilder
- java.lang.Object
-
- org.opennms.netmgt.model.SnmpInterfaceBuilder
-
public class SnmpInterfaceBuilder extends java.lang.Object
SnmpInterfaceBuilder class.
-
-
Constructor Summary
Constructors Constructor Description SnmpInterfaceBuilder(OnmsSnmpInterface snmpIf)
Constructor for SnmpInterfaceBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkBuilder.InterfaceBuilder
addIpInterface(java.lang.String ipAddress)
OnmsSnmpInterface
getSnmpInterface()
getSnmpInterfaceSnmpInterfaceBuilder
setCollectionEnabled(boolean collect)
setCollectionEnabledSnmpInterfaceBuilder
setIfAlias(java.lang.String ifAlias)
setIfAliasSnmpInterfaceBuilder
setIfDescr(java.lang.String ifDescr)
setIfDescrSnmpInterfaceBuilder
setIfName(java.lang.String ifName)
setIfNameSnmpInterfaceBuilder
setIfOperStatus(java.lang.Integer ifOperStatus)
setIfOperStatusSnmpInterfaceBuilder
setIfSpeed(long ifSpeed)
setIfSpeedSnmpInterfaceBuilder
setIfType(java.lang.Integer ifType)
setIfTypeSnmpInterfaceBuilder
setPhysAddr(java.lang.String physAddr)
setPhysAddr
-
-
-
Constructor Detail
-
SnmpInterfaceBuilder
public SnmpInterfaceBuilder(OnmsSnmpInterface snmpIf)
Constructor for SnmpInterfaceBuilder.
- Parameters:
snmpIf
- aOnmsSnmpInterface
object.
-
-
Method Detail
-
setIfSpeed
public SnmpInterfaceBuilder setIfSpeed(long ifSpeed)
setIfSpeed
- Parameters:
ifSpeed
- a long.- Returns:
- a
SnmpInterfaceBuilder
object.
-
setIfDescr
public SnmpInterfaceBuilder setIfDescr(java.lang.String ifDescr)
setIfDescr
- Parameters:
ifDescr
- aString
object.- Returns:
- a
SnmpInterfaceBuilder
object.
-
setIfAlias
public SnmpInterfaceBuilder setIfAlias(java.lang.String ifAlias)
setIfAlias
- Parameters:
ifAlias
- aString
object.- Returns:
- a
SnmpInterfaceBuilder
object.
-
setIfName
public SnmpInterfaceBuilder setIfName(java.lang.String ifName)
setIfName
- Parameters:
ifName
- aString
object.- Returns:
- a
SnmpInterfaceBuilder
object.
-
setIfType
public SnmpInterfaceBuilder setIfType(java.lang.Integer ifType)
setIfType
- Parameters:
ifType
- aInteger
object.- Returns:
- a
SnmpInterfaceBuilder
object.
-
getSnmpInterface
public OnmsSnmpInterface getSnmpInterface()
getSnmpInterface
- Returns:
- a
OnmsSnmpInterface
object.
-
setIfOperStatus
public SnmpInterfaceBuilder setIfOperStatus(java.lang.Integer ifOperStatus)
setIfOperStatus
- Parameters:
ifOperStatus
- aInteger
object.- Returns:
- a
SnmpInterfaceBuilder
object.
-
setCollectionEnabled
public SnmpInterfaceBuilder setCollectionEnabled(boolean collect)
setCollectionEnabled
- Parameters:
collect
- a boolean.- Returns:
- a
SnmpInterfaceBuilder
object.
-
setPhysAddr
public SnmpInterfaceBuilder setPhysAddr(java.lang.String physAddr)
setPhysAddr
- Parameters:
physAddr
- aString
object.- Returns:
- a
SnmpInterfaceBuilder
object.
-
addIpInterface
public NetworkBuilder.InterfaceBuilder addIpInterface(java.lang.String ipAddress)
-
-