public class GetClusterStateResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GetClusterStateResult.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
GetClusterStateResult() |
GetClusterStateResult(Optional<NodeStateResult[]> nodes,
Optional<java.lang.String> cluster,
Optional<java.lang.String> state) |
Modifier and Type | Method and Description |
---|---|
GetClusterStateResult.Builder |
asBuilder() |
static GetClusterStateResult.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.String> |
getCluster() |
Optional<NodeStateResult[]> |
getNodes()
Array of NodeStateResult objects for each node in the cluster.
|
Optional<java.lang.String> |
getState() |
int |
hashCode() |
void |
setCluster(Optional<java.lang.String> cluster) |
void |
setNodes(Optional<NodeStateResult[]> nodes) |
void |
setState(Optional<java.lang.String> state) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public Optional<NodeStateResult[]> getNodes()
public void setNodes(Optional<NodeStateResult[]> nodes)
public Optional<java.lang.String> getCluster()
public void setCluster(Optional<java.lang.String> cluster)
public Optional<java.lang.String> getState()
public void setState(Optional<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 GetClusterStateResult.Builder builder()
public final GetClusterStateResult.Builder asBuilder()