Class Node.Builder
java.lang.Object
org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseNode.Builder<Node>
org.jclouds.rackspace.cloudloadbalancers.v1.domain.Node.Builder
- Enclosing class:
Node
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRequired.build()condition(BaseNode.Condition condition) Required.id(int id) port(int port) Required.status(Node.Status status) type(BaseNode.Type type) Type of node to add.Weight of node to add.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
-
status
- See Also:
-
metadata
-
build
- Overrides:
buildin classBaseNode.Builder<Node>
-
address
Required. IP address or domain name for the node.- Overrides:
addressin classBaseNode.Builder<Node>
-
condition
Required. Condition for the node, which determines its role within the load balancer.- Overrides:
conditionin classBaseNode.Builder<Node>- See Also:
-
type
Type of node to add.- Overrides:
typein classBaseNode.Builder<Node>- See Also:
-
port
Required. Port number for the service you are load balancing.- Overrides:
portin classBaseNode.Builder<Node>
-
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- Overrides:
weightin classBaseNode.Builder<Node>
-
from
- Overrides:
fromin classBaseNode.Builder<Node>
-