public class SnmpTrapRecipient
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SnmpTrapRecipient.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
SnmpTrapRecipient() |
SnmpTrapRecipient(java.lang.String host,
java.lang.String community,
java.lang.Long port) |
Modifier and Type | Method and Description |
---|---|
SnmpTrapRecipient.Builder |
asBuilder() |
static SnmpTrapRecipient.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCommunity()
SNMP community string.
|
java.lang.String |
getHost()
The IP address or host name of the target network management station.
|
java.lang.Long |
getPort()
The UDP port number on the host where the trap is to be sent.
|
int |
hashCode() |
void |
setCommunity(java.lang.String community) |
void |
setHost(java.lang.String host) |
void |
setPort(java.lang.Long port) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.String getHost()
public void setHost(java.lang.String host)
public java.lang.String getCommunity()
public void setCommunity(java.lang.String community)
public java.lang.Long getPort()
public void setPort(java.lang.Long port)
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 SnmpTrapRecipient.Builder builder()
public final SnmpTrapRecipient.Builder asBuilder()