public static final class SnmpServiceProperties.Builder
extends java.lang.Object
SnmpServiceProperties
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
SnmpServiceProperties . |
Modifier and Type | Method and Description |
---|---|
SnmpServiceProperties |
build() |
SnmpServiceProperties.Builder |
setCommunities(java.util.List<java.lang.String> communities)
SNMP v1, v2c community strings
|
SnmpServiceProperties.Builder |
setStartOnBoot(java.lang.Boolean startOnBoot)
Start when system boots
|
SnmpServiceProperties.Builder |
setV2Configured(java.lang.Boolean v2Configured)
SNMP v2 is configured or not
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
SnmpServiceProperties.Builder |
setV3AuthProtocol(java.lang.String v3AuthProtocol)
Possible values are:
SnmpServiceProperties.V3AUTH_PROTOCOL_SHA1 SNMP
v3 auth protocol |
SnmpServiceProperties.Builder |
setV3Configured(java.lang.Boolean v3Configured)
SNMP v3 is configured or not
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
SnmpServiceProperties.Builder |
setV3PrivProtocol(java.lang.String v3PrivProtocol)
Possible values are:
SnmpServiceProperties.V3PRIV_PROTOCOL_AES128
SNMP v3 private protocol |
SnmpServiceProperties.Builder |
setV3Users(java.util.List<SnmpV3User> v3Users)
SNMP v3 users information
|
public Builder()
SnmpServiceProperties
.public SnmpServiceProperties.Builder setCommunities(java.util.List<java.lang.String> communities)
communities
- New value for the property.public SnmpServiceProperties.Builder setStartOnBoot(java.lang.Boolean startOnBoot)
startOnBoot
- New value for the property.public SnmpServiceProperties.Builder setV2Configured(java.lang.Boolean v2Configured)
v2Configured
- New value for the property.public SnmpServiceProperties.Builder setV3AuthProtocol(java.lang.String v3AuthProtocol)
v3AuthProtocol
- New value for the property.public SnmpServiceProperties.Builder setV3Configured(java.lang.Boolean v3Configured)
v3Configured
- New value for the property.public SnmpServiceProperties.Builder setV3PrivProtocol(java.lang.String v3PrivProtocol)
v3PrivProtocol
- New value for the property.public SnmpServiceProperties.Builder setV3Users(java.util.List<SnmpV3User> v3Users)
v3Users
- New value for the property.public SnmpServiceProperties build()