public static final class Snmpv3Target.Builder
extends java.lang.Object
Snmpv3Target
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Snmpv3Target . |
Modifier and Type | Method and Description |
---|---|
Snmpv3Target |
build() |
Snmpv3Target.Builder |
setPort(java.lang.Long port)
SNMP v3 target server's port.
|
Snmpv3Target.Builder |
setSecurityLevel(java.lang.String securityLevel)
Possible values are:
Snmpv3Target.SECURITY_LEVEL_PRIV Security level
indicates whether SNMP communication involves authentication and privacy
protocols for this user. |
Snmpv3Target.Builder |
setServer(java.lang.String server)
SNMP v3 target server's IP or FQDN.
|
Snmpv3Target.Builder |
setUserId(java.lang.String userId)
SNMP v3 user id used to notify target server.
|
public Builder()
Snmpv3Target
.public Snmpv3Target.Builder setPort(java.lang.Long port)
port
- New value for the property.public Snmpv3Target.Builder setSecurityLevel(java.lang.String securityLevel)
securityLevel
- New value for the property.public Snmpv3Target.Builder setServer(java.lang.String server)
server
- New value for the property.public Snmpv3Target.Builder setUserId(java.lang.String userId)
userId
- New value for the property.public Snmpv3Target build()