|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseNode.Builder<T>
public static class BaseNode.Builder<T extends BaseNode<T>>
| Field Summary | |
|---|---|
protected String |
address
|
protected BaseNode.Condition |
condition
|
protected int |
port
|
protected BaseNode.Type |
type
|
protected Integer |
weight
|
| Constructor Summary | |
|---|---|
BaseNode.Builder()
|
|
| Method Summary | |
|---|---|
BaseNode.Builder<T> |
address(String address)
Required. |
BaseNode<T> |
build()
|
BaseNode.Builder<T> |
condition(BaseNode.Condition condition)
Required. |
BaseNode.Builder<T> |
from(T in)
|
BaseNode.Builder<T> |
port(int port)
Required. |
BaseNode.Builder<T> |
type(BaseNode.Type type)
Type of node to add. |
BaseNode.Builder<T> |
weight(Integer weight)
Weight of node to add. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String address
protected int port
protected BaseNode.Condition condition
protected BaseNode.Type type
protected Integer weight
| Constructor Detail |
|---|
public BaseNode.Builder()
| Method Detail |
|---|
public BaseNode.Builder<T> address(String address)
public BaseNode.Builder<T> port(int port)
public BaseNode.Builder<T> condition(BaseNode.Condition condition)
BaseNode.Conditionpublic BaseNode.Builder<T> type(BaseNode.Type type)
BaseNode.Typepublic BaseNode.Builder<T> weight(Integer weight)
Algorithm#WEIGHTED_ROUND_ROBIN load balancer algorithm mode is
selected, then the user should assign the relevant weight to the node using the weight attribute for
the node. Must be an integer from 1 to 100.
public BaseNode<T> build()
public BaseNode.Builder<T> from(T in)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||