public class SnmpTrapNorthbounderConfig extends Object implements Serializable
Constructor and Description |
---|
SnmpTrapNorthbounderConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addSnmpTrapSink(SnmpTrapSink snmpTrapSink)
Adds the SNMP trap sink.
|
Integer |
getBatchSize()
Gets the batch size.
|
Integer |
getNaglesDelay()
Gets the nagles delay.
|
Integer |
getQueueSize()
Gets the queue size.
|
SnmpTrapSink |
getSnmpTrapSink(String trapSinkName)
Gets a specific trap sink.
|
List<SnmpTrapSink> |
getSnmpTrapSinks()
Gets the SNMP Trap sinks.
|
List<String> |
getUeis()
Gets the UEIs.
|
Boolean |
isEnabled()
Checks if is enabled.
|
boolean |
removeSnmpTrapSink(String trapSinkName)
Removes a specific SNMP trap sink.
|
void |
setBatchSize(Integer batchSize)
Sets the batch size.
|
void |
setDestinations(List<SnmpTrapSink> snmpTrapSinks)
Sets the SNMP Trap sinks.
|
void |
setEnabled(Boolean enabled)
Sets the enabled.
|
void |
setNaglesDelay(Integer naglesDelay)
Sets the nagles delay.
|
void |
setQueueSize(Integer alarmQueueSize)
Sets the queue size.
|
void |
setUeis(List<String> ueis)
Sets the UEIs.
|
public List<SnmpTrapSink> getSnmpTrapSinks()
public void setDestinations(List<SnmpTrapSink> snmpTrapSinks)
snmpTrapSinks
- the new SNMP Trap sinkspublic Integer getNaglesDelay()
public void setNaglesDelay(Integer naglesDelay)
naglesDelay
- the new nagles delaypublic Integer getBatchSize()
public void setBatchSize(Integer batchSize)
batchSize
- the new batch sizepublic Integer getQueueSize()
public void setQueueSize(Integer alarmQueueSize)
alarmQueueSize
- the new queue sizepublic Boolean isEnabled()
public void setEnabled(Boolean enabled)
enabled
- the new enabledpublic SnmpTrapSink getSnmpTrapSink(String trapSinkName)
trapSinkName
- the trap sink namepublic void addSnmpTrapSink(SnmpTrapSink snmpTrapSink)
If there is a trap sink with the same name, the existing one will be overridden.
snmpTrapSink
- the SNMP trap sinkpublic boolean removeSnmpTrapSink(String trapSinkName)
trapSinkName
- the trap sink nameCopyright © 2016. All rights reserved.