public class GetSnmpTrapInfoResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GetSnmpTrapInfoResult.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
GetSnmpTrapInfoResult() |
GetSnmpTrapInfoResult(SnmpTrapRecipient[] trapRecipients,
java.lang.Boolean clusterFaultTrapsEnabled,
java.lang.Boolean clusterFaultResolvedTrapsEnabled,
java.lang.Boolean clusterEventTrapsEnabled) |
Modifier and Type | Method and Description |
---|---|
GetSnmpTrapInfoResult.Builder |
asBuilder() |
static GetSnmpTrapInfoResult.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getClusterEventTrapsEnabled()
If "true", when a cluster fault is logged a corresponding solidFireClusterEventNotification is sent to the configured list of trap recipients.
|
java.lang.Boolean |
getClusterFaultResolvedTrapsEnabled()
If "true", when a cluster fault is logged a corresponding solidFireClusterFaultResolvedNotification is sent to the configured list of trap recipients.
|
java.lang.Boolean |
getClusterFaultTrapsEnabled()
If "true", when a cluster fault is logged a corresponding solidFireClusterFaultNotification is sent to the configured list of trap recipients.
|
SnmpTrapRecipient[] |
getTrapRecipients()
List of hosts that are to receive the traps generated by the cluster.
|
int |
hashCode() |
void |
setClusterEventTrapsEnabled(java.lang.Boolean clusterEventTrapsEnabled) |
void |
setClusterFaultResolvedTrapsEnabled(java.lang.Boolean clusterFaultResolvedTrapsEnabled) |
void |
setClusterFaultTrapsEnabled(java.lang.Boolean clusterFaultTrapsEnabled) |
void |
setTrapRecipients(SnmpTrapRecipient[] trapRecipients) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public GetSnmpTrapInfoResult(SnmpTrapRecipient[] trapRecipients, java.lang.Boolean clusterFaultTrapsEnabled, java.lang.Boolean clusterFaultResolvedTrapsEnabled, java.lang.Boolean clusterEventTrapsEnabled)
public SnmpTrapRecipient[] getTrapRecipients()
public void setTrapRecipients(SnmpTrapRecipient[] trapRecipients)
public java.lang.Boolean getClusterFaultTrapsEnabled()
public void setClusterFaultTrapsEnabled(java.lang.Boolean clusterFaultTrapsEnabled)
public java.lang.Boolean getClusterFaultResolvedTrapsEnabled()
public void setClusterFaultResolvedTrapsEnabled(java.lang.Boolean clusterFaultResolvedTrapsEnabled)
public java.lang.Boolean getClusterEventTrapsEnabled()
public void setClusterEventTrapsEnabled(java.lang.Boolean clusterEventTrapsEnabled)
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 GetSnmpTrapInfoResult.Builder builder()
public final GetSnmpTrapInfoResult.Builder asBuilder()