Package com.vmware.nsx.model
Class Snmpv3Properties.Builder
- java.lang.Object
-
- com.vmware.nsx.model.Snmpv3Properties.Builder
-
- Enclosing class:
- Snmpv3Properties
public static final class Snmpv3Properties.Builder extends java.lang.Object
Builder class forSnmpv3Properties
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSnmpv3Properties
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Snmpv3Properties
build()
Snmpv3Properties.Builder
setAuthProtocol(java.lang.String authProtocol)
Possible values are:Snmpv3Properties.AUTH_PROTOCOL_SHA1
Authentication protocol used for SNMP v3 communication.Snmpv3Properties.Builder
setCcUsers(java.util.List<CCSnmpV3User> ccUsers)
List of CentralConfig SNMP v3 users allowed to poll NSX nodes over SNMP.Snmpv3Properties.Builder
setPrivProtocol(java.lang.String privProtocol)
Possible values are:Snmpv3Properties.PRIV_PROTOCOL_AES128
Privacy protocol used for SNMP v3 communication.Snmpv3Properties.Builder
setTargets(java.util.List<Snmpv3Target> targets)
List of SNMP v3 targets/receivers where SNMP v3 traps/notifications will be sent from NSX nodes.Snmpv3Properties.Builder
setUsers(java.util.List<Snmpv3User> users)
List of SNMP v3 users allowed to poll NSX nodes over SNMP.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSnmpv3Properties
.
-
-
Method Detail
-
setAuthProtocol
public Snmpv3Properties.Builder setAuthProtocol(java.lang.String authProtocol)
Possible values are: Authentication protocol used for SNMP v3 communication.- Parameters:
authProtocol
- New value for the property.
-
setCcUsers
public Snmpv3Properties.Builder setCcUsers(java.util.List<CCSnmpV3User> ccUsers)
List of CentralConfig SNMP v3 users allowed to poll NSX nodes over SNMP. Also, users specified in a SNMP v3 target must exist in this list.- Parameters:
ccUsers
- New value for the property.
-
setPrivProtocol
public Snmpv3Properties.Builder setPrivProtocol(java.lang.String privProtocol)
Possible values are: Privacy protocol used for SNMP v3 communication.- Parameters:
privProtocol
- New value for the property.
-
setTargets
public Snmpv3Properties.Builder setTargets(java.util.List<Snmpv3Target> targets)
List of SNMP v3 targets/receivers where SNMP v3 traps/notifications will be sent from NSX nodes.- Parameters:
targets
- New value for the property.
-
setUsers
public Snmpv3Properties.Builder setUsers(java.util.List<Snmpv3User> users)
List of SNMP v3 users allowed to poll NSX nodes over SNMP. Also, users specified in a SNMP v3 target must exist in this list.- Parameters:
users
- New value for the property.
-
build
public Snmpv3Properties build()
-
-