public EventBuilder setSnmpTimeStamp(final long timeStamp) { ensureSnmp(); m_event.getSnmp().setTimeStamp(timeStamp); return this; }
/** * setSpecific * * @param specific a int. * @return a {@link org.opennms.netmgt.model.events.EventBuilder} object. */ public EventBuilder setSpecific(final int specific) { ensureSnmp(); m_event.getSnmp().setSpecific(specific); return this; }
/** * setGeneric * * @param generic a int. * @return a {@link org.opennms.netmgt.model.events.EventBuilder} object. */ public EventBuilder setGeneric(final int generic) { ensureSnmp(); m_event.getSnmp().setGeneric(generic); return this; }
/** * setEnterpriseId * * @param enterprise a {@link java.lang.String} object. * @return a {@link org.opennms.netmgt.model.events.EventBuilder} object. */ public EventBuilder setEnterpriseId(final String enterprise) { ensureSnmp(); m_event.getSnmp().setId(enterprise); return this; }
public EventBuilder setCommunity(final String community) { ensureSnmp(); m_event.getSnmp().setCommunity(community); return this; }
/** * setSnmpVersion * * @param version a {@link java.lang.String} object. * @return a {@link org.opennms.netmgt.model.events.EventBuilder} object. */ public EventBuilder setSnmpVersion(final String version) { ensureSnmp(); m_event.getSnmp().setVersion(version); return this; }