Class ImmutableEvent.Builder
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableEvent.Builder
-
- Enclosing class:
- ImmutableEvent
public static final class ImmutableEvent.Builder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
setUuid
public ImmutableEvent.Builder setUuid(java.lang.String uuid)
-
setDbId
public ImmutableEvent.Builder setDbId(java.lang.Integer dbId)
-
setDistPoller
public ImmutableEvent.Builder setDistPoller(java.lang.String distPoller)
-
setCreationTime
public ImmutableEvent.Builder setCreationTime(java.util.Date creationTime)
-
setMasterStation
public ImmutableEvent.Builder setMasterStation(java.lang.String masterStation)
-
setMask
public ImmutableEvent.Builder setMask(IMask mask)
-
setUei
public ImmutableEvent.Builder setUei(java.lang.String uei)
-
setSource
public ImmutableEvent.Builder setSource(java.lang.String source)
-
setNodeid
public ImmutableEvent.Builder setNodeid(java.lang.Long nodeid)
-
setTime
public ImmutableEvent.Builder setTime(java.util.Date time)
-
setHost
public ImmutableEvent.Builder setHost(java.lang.String host)
-
setInterfaceAddress
public ImmutableEvent.Builder setInterfaceAddress(java.net.InetAddress interfaceAddress)
-
setInterface
public ImmutableEvent.Builder setInterface(java.lang.String interfaceString)
-
setSnmpHost
public ImmutableEvent.Builder setSnmpHost(java.lang.String snmpHost)
-
setService
public ImmutableEvent.Builder setService(java.lang.String service)
-
setSnmp
public ImmutableEvent.Builder setSnmp(ISnmp snmp)
-
setParms
public ImmutableEvent.Builder setParms(java.util.List<IParm> parms)
-
setDescr
public ImmutableEvent.Builder setDescr(java.lang.String descr)
-
setLogMsg
public ImmutableEvent.Builder setLogMsg(ILogMsg logMsg)
-
setSeverity
public ImmutableEvent.Builder setSeverity(java.lang.String severity)
-
setPathOutage
public ImmutableEvent.Builder setPathOutage(java.lang.String pathOutage)
-
setCorrelation
public ImmutableEvent.Builder setCorrelation(ICorrelation correlation)
-
setOperInstruct
public ImmutableEvent.Builder setOperInstruct(java.lang.String operInstruct)
-
setAutoActionList
public ImmutableEvent.Builder setAutoActionList(java.util.List<IAutoAction> autoActionList)
-
setOperActionList
public ImmutableEvent.Builder setOperActionList(java.util.List<IOperAction> operActionList)
-
setAutoAcknowledge
public ImmutableEvent.Builder setAutoAcknowledge(IAutoAcknowledge autoAcknowledge)
-
setLogGroupList
public ImmutableEvent.Builder setLogGroupList(java.util.List<java.lang.String> logGroupList)
-
settTicket
public ImmutableEvent.Builder settTicket(ITticket tTicket)
-
setForwardList
public ImmutableEvent.Builder setForwardList(java.util.List<IForward> forwardList)
-
setScriptList
public ImmutableEvent.Builder setScriptList(java.util.List<IScript> scriptList)
-
setIfIndex
public ImmutableEvent.Builder setIfIndex(java.lang.Integer ifIndex)
-
setIfAlias
public ImmutableEvent.Builder setIfAlias(java.lang.String ifAlias)
-
setMouseOverText
public ImmutableEvent.Builder setMouseOverText(java.lang.String mouseOverText)
-
setAlarmData
public ImmutableEvent.Builder setAlarmData(IAlarmData alarmData)
-
build
public ImmutableEvent build()
-
-