public static final class Snmpv2cProperties.Builder
extends java.lang.Object
Snmpv2cProperties
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
Snmpv2cProperties . |
Modifier and Type | Method and Description |
---|---|
Snmpv2cProperties |
build() |
Snmpv2cProperties.Builder |
setCommunities(java.util.List<Snmpv2cCommunity> communities)
List of SNMP v2c communities allowed to poll NSX nodes over SNMP v2c.
|
Snmpv2cProperties.Builder |
setTargets(java.util.List<Snmpv2cTarget> targets)
List of SNMP v2c targets/receivers where SNMP v2c traps/notifications will be
sent from NSX nodes.
|
public Builder()
Snmpv2cProperties
.public Snmpv2cProperties.Builder setCommunities(java.util.List<Snmpv2cCommunity> communities)
communities
- New value for the property.public Snmpv2cProperties.Builder setTargets(java.util.List<Snmpv2cTarget> targets)
targets
- New value for the property.public Snmpv2cProperties build()