| Modifier and Type | Method and Description |
|---|---|
Node |
build() |
Node.Builder |
withEndpoint(io.atomix.messaging.Endpoint endpoint)
Sets the node endpoint.
|
Node.Builder |
withId(NodeId id)
Sets the node identifier.
|
Node.Builder |
withType(Node.Type type)
Sets the node type.
|
public Node.Builder withId(NodeId id)
id - the node identifierpublic Node.Builder withType(Node.Type type)
type - the node typeNullPointerException - if the node type is nullpublic Node.Builder withEndpoint(io.atomix.messaging.Endpoint endpoint)
endpoint - the node endpointCopyright © 2013–2018. All rights reserved.