public class SetSnmpInfoRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SetSnmpInfoRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
SetSnmpInfoRequest() |
SetSnmpInfoRequest(Optional<SnmpNetwork[]> networks,
Optional<java.lang.Boolean> enabled,
Optional<java.lang.Boolean> snmpV3Enabled,
Optional<SnmpV3UsmUser[]> usmUsers) |
Modifier and Type | Method and Description |
---|---|
SetSnmpInfoRequest.Builder |
asBuilder() |
static SetSnmpInfoRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Boolean> |
getEnabled()
If set to true, SNMP is enabled on each node in the cluster.
|
Optional<SnmpNetwork[]> |
getNetworks()
List of networks and what type of access they have to the
SNMP servers running on the cluster nodes.
|
Optional<java.lang.Boolean> |
getSnmpV3Enabled()
If set to true, SNMP v3 is enabled on each node in the cluster.
|
Optional<SnmpV3UsmUser[]> |
getUsmUsers()
If SNMP v3 is enabled, this value must be passed in place of the networks parameter.
|
int |
hashCode() |
void |
setEnabled(Optional<java.lang.Boolean> enabled) |
void |
setNetworks(Optional<SnmpNetwork[]> networks) |
void |
setSnmpV3Enabled(Optional<java.lang.Boolean> snmpV3Enabled) |
void |
setUsmUsers(Optional<SnmpV3UsmUser[]> usmUsers) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public SetSnmpInfoRequest(Optional<SnmpNetwork[]> networks, Optional<java.lang.Boolean> enabled, Optional<java.lang.Boolean> snmpV3Enabled, Optional<SnmpV3UsmUser[]> usmUsers)
public Optional<SnmpNetwork[]> getNetworks()
public void setNetworks(Optional<SnmpNetwork[]> networks)
public Optional<java.lang.Boolean> getEnabled()
public void setEnabled(Optional<java.lang.Boolean> enabled)
public Optional<java.lang.Boolean> getSnmpV3Enabled()
public void setSnmpV3Enabled(Optional<java.lang.Boolean> snmpV3Enabled)
public Optional<SnmpV3UsmUser[]> getUsmUsers()
public void setUsmUsers(Optional<SnmpV3UsmUser[]> usmUsers)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static SetSnmpInfoRequest.Builder builder()
public final SetSnmpInfoRequest.Builder asBuilder()