public class SnmpTrapRecipient
extends Object
implements 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(String host,
String community,
Long port) |
| Modifier and Type | Method and Description |
|---|---|
SnmpTrapRecipient.Builder |
asBuilder() |
static SnmpTrapRecipient.Builder |
builder() |
boolean |
equals(Object o) |
String |
getCommunity()
SNMP community string.
|
String |
getHost()
The IP address or host name of the target network management station.
|
Long |
getPort()
The UDP port number on the host where the trap is to be sent.
|
int |
hashCode() |
void |
setCommunity(String community) |
void |
setHost(String host) |
void |
setPort(Long port) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
public String getHost()
public void setHost(String host)
public String getCommunity()
public void setCommunity(String community)
public Long getPort()
public void setPort(Long port)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Map<String,Object> toMap()
public String toString()
toString in class Objectpublic static SnmpTrapRecipient.Builder builder()
public final SnmpTrapRecipient.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.