Class ImmutableSnmp.Builder
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableSnmp.Builder
-
- Enclosing class:
- ImmutableSnmp
public static final class ImmutableSnmp.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableSnmp
build()
ImmutableSnmp.Builder
setCommunity(java.lang.String community)
ImmutableSnmp.Builder
setGeneric(java.lang.Integer generic)
ImmutableSnmp.Builder
setId(java.lang.String id)
ImmutableSnmp.Builder
setIdText(java.lang.String idText)
ImmutableSnmp.Builder
setSpecific(java.lang.Integer specific)
ImmutableSnmp.Builder
setTimeStamp(java.lang.Long timeStamp)
ImmutableSnmp.Builder
setTrapOID(java.lang.String trapOID)
ImmutableSnmp.Builder
setVersion(java.lang.String version)
-
-
-
Constructor Detail
-
Builder
public Builder(ISnmp snmp)
-
-
Method Detail
-
setId
public ImmutableSnmp.Builder setId(java.lang.String id)
-
setTrapOID
public ImmutableSnmp.Builder setTrapOID(java.lang.String trapOID)
-
setIdText
public ImmutableSnmp.Builder setIdText(java.lang.String idText)
-
setVersion
public ImmutableSnmp.Builder setVersion(java.lang.String version)
-
setSpecific
public ImmutableSnmp.Builder setSpecific(java.lang.Integer specific)
-
setGeneric
public ImmutableSnmp.Builder setGeneric(java.lang.Integer generic)
-
setCommunity
public ImmutableSnmp.Builder setCommunity(java.lang.String community)
-
setTimeStamp
public ImmutableSnmp.Builder setTimeStamp(java.lang.Long timeStamp)
-
build
public ImmutableSnmp build()
-
-