public class SnmpNetwork
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SnmpNetwork.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
SnmpNetwork() |
SnmpNetwork(java.lang.String access,
java.lang.Long cidr,
java.lang.String community,
java.lang.String network) |
Modifier and Type | Method and Description |
---|---|
SnmpNetwork.Builder |
asBuilder() |
static SnmpNetwork.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAccess()
ro: read-only access.
|
java.lang.Long |
getCidr()
A CIDR network mask.
|
java.lang.String |
getCommunity()
SNMP community string.
|
java.lang.String |
getNetwork()
This parameter ainteger with the cidr variable is used to control which network the access and community string apply to.
|
int |
hashCode() |
void |
setAccess(java.lang.String access) |
void |
setCidr(java.lang.Long cidr) |
void |
setCommunity(java.lang.String community) |
void |
setNetwork(java.lang.String network) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.String getAccess()
public void setAccess(java.lang.String access)
public java.lang.Long getCidr()
public void setCidr(java.lang.Long cidr)
public java.lang.String getCommunity()
public void setCommunity(java.lang.String community)
public java.lang.String getNetwork()
public void setNetwork(java.lang.String network)
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 SnmpNetwork.Builder builder()
public final SnmpNetwork.Builder asBuilder()