public class NodeStateResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NodeStateResult.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
NodeStateResult() |
NodeStateResult(java.lang.Long nodeID,
Optional<NodeStateInfo> result) |
Modifier and Type | Method and Description |
---|---|
NodeStateResult.Builder |
asBuilder() |
static NodeStateResult.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getNodeID()
ID of the node.
|
Optional<NodeStateInfo> |
getResult()
NodeStateInfo object.
|
int |
hashCode() |
void |
setNodeID(java.lang.Long nodeID) |
void |
setResult(Optional<NodeStateInfo> result) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public NodeStateResult(java.lang.Long nodeID, Optional<NodeStateInfo> result)
public java.lang.Long getNodeID()
public void setNodeID(java.lang.Long nodeID)
public Optional<NodeStateInfo> getResult()
public void setResult(Optional<NodeStateInfo> result)
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 NodeStateResult.Builder builder()
public final NodeStateResult.Builder asBuilder()