public class ClusterSummary extends Object implements Serializable
The summary description of the cluster.
Constructor and Description |
---|
ClusterSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getId()
The unique identifier for the cluster.
|
String |
getName()
The name of the cluster.
|
ClusterStatus |
getStatus()
The details about the current status of the cluster.
|
int |
hashCode() |
void |
setId(String id)
The unique identifier for the cluster.
|
void |
setName(String name)
The name of the cluster.
|
void |
setStatus(ClusterStatus status)
The details about the current status of the cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ClusterSummary |
withId(String id)
The unique identifier for the cluster.
|
ClusterSummary |
withName(String name)
The name of the cluster.
|
ClusterSummary |
withStatus(ClusterStatus status)
The details about the current status of the cluster.
|
public String getId()
public void setId(String id)
id
- The unique identifier for the cluster.public ClusterSummary withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The unique identifier for the cluster.public String getName()
public void setName(String name)
name
- The name of the cluster.public ClusterSummary withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the cluster.public ClusterStatus getStatus()
public void setStatus(ClusterStatus status)
status
- The details about the current status of the cluster.public ClusterSummary withStatus(ClusterStatus status)
Returns a reference to this object so that method calls can be chained together.
status
- The details about the current status of the cluster.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.