public class NodeStateInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NodeStateInfo.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
NodeStateInfo() |
NodeStateInfo(java.lang.String cluster,
java.lang.String state) |
Modifier and Type | Method and Description |
---|---|
NodeStateInfo.Builder |
asBuilder() |
static NodeStateInfo.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCluster()
Name of the cluster.
|
java.lang.String |
getState()
Available: Node has not been configured with a cluster name.
Pending: Node is pending for a specific named cluster and can be added. Active: Node is active and a member of a cluster and may not be added to another cluster. |
int |
hashCode() |
void |
setCluster(java.lang.String cluster) |
void |
setState(java.lang.String state) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.String getCluster()
public void setCluster(java.lang.String cluster)
public java.lang.String getState()
public void setState(java.lang.String state)
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 NodeStateInfo.Builder builder()
public final NodeStateInfo.Builder asBuilder()