public static class AddNode.Builder extends BaseNode.Builder<AddNode>
Constructor and Description |
---|
AddNode.Builder() |
Modifier and Type | Method and Description |
---|---|
AddNode.Builder |
address(String address)
Required.
|
AddNode |
build() |
AddNode.Builder |
condition(BaseNode.Condition condition)
Required.
|
AddNode.Builder |
from(AddNode in) |
AddNode.Builder |
port(int port)
Required.
|
AddNode.Builder |
type(BaseNode.Type type)
Type of node to add.
|
AddNode.Builder |
weight(Integer weight)
Weight of node to add.
|
public AddNode.Builder address(String address)
address
in class BaseNode.Builder<AddNode>
public AddNode.Builder condition(BaseNode.Condition condition)
condition
in class BaseNode.Builder<AddNode>
BaseNode.Condition
public AddNode.Builder type(BaseNode.Type type)
type
in class BaseNode.Builder<AddNode>
BaseNode.Type
public AddNode.Builder port(int port)
port
in class BaseNode.Builder<AddNode>
public AddNode.Builder weight(Integer weight)
BaseLoadBalancer.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.weight
in class BaseNode.Builder<AddNode>
public AddNode build()
build
in class BaseNode.Builder<AddNode>
public AddNode.Builder from(AddNode in)
from
in class BaseNode.Builder<AddNode>
Copyright © 2009-2013 jclouds. All Rights Reserved.