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