public class GetSnmpInfoResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GetSnmpInfoResult.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
GetSnmpInfoResult() |
GetSnmpInfoResult(Optional<SnmpNetwork[]> networks,
java.lang.Boolean enabled,
java.lang.Boolean snmpV3Enabled,
Optional<SnmpV3UsmUser[]> usmUsers) |
Modifier and Type | Method and Description |
---|---|
GetSnmpInfoResult.Builder |
asBuilder() |
static GetSnmpInfoResult.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getEnabled()
If the nodes in the cluster are configured for SNMP.
|
Optional<SnmpNetwork[]> |
getNetworks()
List of networks and access types enabled for SNMP.
|
java.lang.Boolean |
getSnmpV3Enabled()
If the nodes in the cluster are configured for SNMP v3.
|
Optional<SnmpV3UsmUser[]> |
getUsmUsers()
If SNMP v3 is enabled, the values returned is a list of user access parameters for SNMP information from the cluster.
|
int |
hashCode() |
void |
setEnabled(java.lang.Boolean enabled) |
void |
setNetworks(Optional<SnmpNetwork[]> networks) |
void |
setSnmpV3Enabled(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 GetSnmpInfoResult(Optional<SnmpNetwork[]> networks, java.lang.Boolean enabled, java.lang.Boolean snmpV3Enabled, Optional<SnmpV3UsmUser[]> usmUsers)
public Optional<SnmpNetwork[]> getNetworks()
public void setNetworks(Optional<SnmpNetwork[]> networks)
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
public java.lang.Boolean getSnmpV3Enabled()
public void setSnmpV3Enabled(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 GetSnmpInfoResult.Builder builder()
public final GetSnmpInfoResult.Builder asBuilder()