public static class Node.Builder extends BaseNode.Builder<Node>
address, condition, port, weight
Constructor and Description |
---|
Node.Builder() |
Modifier and Type | Method and Description |
---|---|
Node.Builder |
address(String address) |
Node |
build() |
Node.Builder |
condition(BaseNode.Condition condition) |
Node.Builder |
from(Node in) |
Node.Builder |
id(int id) |
Node.Builder |
port(int port) |
Node.Builder |
status(Node.Status status) |
Node.Builder |
weight(Integer weight) |
public Node.Builder id(int id)
public Node.Builder status(Node.Status status)
public Node build()
build
in class BaseNode.Builder<Node>
public Node.Builder address(String address)
address
in class BaseNode.Builder<Node>
public Node.Builder condition(BaseNode.Condition condition)
condition
in class BaseNode.Builder<Node>
public Node.Builder from(Node in)
from
in class BaseNode.Builder<Node>
public Node.Builder port(int port)
port
in class BaseNode.Builder<Node>
public Node.Builder weight(Integer weight)
weight
in class BaseNode.Builder<Node>
Copyright © 2009-2013 jclouds. All Rights Reserved.