public static final class ClusterNode.Builder
extends java.lang.Object
ClusterNode.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ClusterNode. |
| Modifier and Type | Method and Description |
|---|---|
ClusterNode |
build() |
ClusterNode.Builder |
setEntities(java.util.List<ClusterNodeEntity> entities)
Entities on the node
|
ClusterNode.Builder |
setNodeUuid(java.lang.String nodeUuid)
UUID of the node
|
ClusterNode.Builder |
setStatus(java.lang.String status)
Possible values are:
ClusterNode.STATUS_JOINING ClusterNode.STATUS_JOINED ClusterNode.STATUS_REMOVING ClusterNode.STATUS_REMOVED Current clustering
status of the node |
public Builder()
ClusterNode.public ClusterNode.Builder setEntities(java.util.List<ClusterNodeEntity> entities)
entities - New value for the property.public ClusterNode.Builder setNodeUuid(java.lang.String nodeUuid)
nodeUuid - New value for the property.public ClusterNode.Builder setStatus(java.lang.String status)
status - New value for the property.public ClusterNode build()