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 Stringprotected BaseNode.Conditionprotected intprotected BaseNode.Typeprotected 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 theload 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.invalid reference
Algorithm#WEIGHTED_ROUND_ROBIN -
build
-
from
-