Class BaseNode.Builder<T extends BaseNode<T>>
java.lang.Object
org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseNode.Builder<T>
- Direct Known Subclasses:
AddNode.Builder
,Node.Builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected BaseNode.Condition
protected int
protected BaseNode.Type
protected Integer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRequired.build()
condition
(BaseNode.Condition condition) Required.port
(int port) Required.type
(BaseNode.Type type) Type of node to add.Weight of node to add.
-
Field Details
-
address
-
port
protected int port -
condition
-
type
-
weight
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Required. IP address or domain name for the node. -
port
Required. Port number for the service you are load balancing. -
condition
Required. Condition for the node, which determines its role within the load balancer.- See Also:
-
type
Type of node to add.- See Also:
-
weight
Weight of node to add. If theinvalid reference
Algorithm#WEIGHTED_ROUND_ROBIN
-
build
-
from
-