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