public static final class ClusterNodeInfo.Builder
extends java.lang.Object
ClusterNodeInfo.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ClusterNodeInfo. |
| Modifier and Type | Method and Description |
|---|---|
ClusterNodeInfo |
build() |
ClusterNodeInfo.Builder |
setApiListenAddr(ServiceEndpoint apiListenAddr) |
ClusterNodeInfo.Builder |
setApplianceConnectionInfo(ServiceEndpoint applianceConnectionInfo) |
ClusterNodeInfo.Builder |
setCertificates(java.util.List<NodeCertificateInfo> certificates)
Certificate and thumbprint of all entities
|
ClusterNodeInfo.Builder |
setControlPlaneListenAddr(ServiceEndpoint controlPlaneListenAddr) |
ClusterNodeInfo.Builder |
setDisplayName(java.lang.String displayName)
The display name of this node
|
ClusterNodeInfo.Builder |
setEntities(java.util.List<NodeEntityInfo> entities)
Service endpoint of all entities
|
ClusterNodeInfo.Builder |
setFqdn(java.lang.String fqdn)
The fqdn of this node
|
ClusterNodeInfo.Builder |
setMsgClients(java.util.List<NodeMessagingClientInfo> msgClients)
Messaging client of all entities
|
ClusterNodeInfo.Builder |
setNodeUuid(java.lang.String nodeUuid)
Unique identifier of this node
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ClusterNodeInfo.Builder |
setStatus(java.lang.String status)
Possible values are:
ClusterNodeInfo.STATUS_JOINING ClusterNodeInfo.STATUS_JOINED ClusterNodeInfo.STATUS_REMOVING ClusterNodeInfo.STATUS_REMOVED Node clustering
status
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
public Builder()
ClusterNodeInfo.public ClusterNodeInfo.Builder setApiListenAddr(ServiceEndpoint apiListenAddr)
apiListenAddr - New value for the property.public ClusterNodeInfo.Builder setApplianceConnectionInfo(ServiceEndpoint applianceConnectionInfo)
applianceConnectionInfo - New value for the property.public ClusterNodeInfo.Builder setCertificates(java.util.List<NodeCertificateInfo> certificates)
certificates - New value for the property.public ClusterNodeInfo.Builder setControlPlaneListenAddr(ServiceEndpoint controlPlaneListenAddr)
controlPlaneListenAddr - New value for the property.public ClusterNodeInfo.Builder setDisplayName(java.lang.String displayName)
displayName - New value for the property.public ClusterNodeInfo.Builder setEntities(java.util.List<NodeEntityInfo> entities)
entities - New value for the property.public ClusterNodeInfo.Builder setFqdn(java.lang.String fqdn)
fqdn - New value for the property.public ClusterNodeInfo.Builder setMsgClients(java.util.List<NodeMessagingClientInfo> msgClients)
msgClients - New value for the property.public ClusterNodeInfo.Builder setNodeUuid(java.lang.String nodeUuid)
nodeUuid - New value for the property.public ClusterNodeInfo.Builder setStatus(java.lang.String status)
status - New value for the property.public ClusterNodeInfo build()