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
 
public static class Node.Builder extends BaseNode.Builder<Node>
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node.Builderaddress(String address)Required.Nodebuild()Node.Buildercondition(BaseNode.Condition condition)Required.Node.Builderfrom(Node in)Node.Builderid(int id)Node.Buildermetadata(Metadata metadata)Node.Builderport(int port)Required.Node.Builderstatus(Node.Status status)Node.Buildertype(BaseNode.Type type)Type of node to add.Node.Builderweight(Integer weight)Weight of node to add. 
 - 
 
- 
- 
Method Detail
- 
id
public Node.Builder id(int id)
 
- 
status
public Node.Builder status(Node.Status status)
- See Also:
 Node.Status
 
- 
metadata
public Node.Builder metadata(Metadata metadata)
 
- 
build
public Node build()
- Overrides:
 buildin classBaseNode.Builder<Node>
 
- 
address
public Node.Builder address(String address)
Required. IP address or domain name for the node.- Overrides:
 addressin classBaseNode.Builder<Node>
 
- 
condition
public Node.Builder condition(BaseNode.Condition condition)
Required. Condition for the node, which determines its role within the load balancer.- Overrides:
 conditionin classBaseNode.Builder<Node>- See Also:
 BaseNode.Condition
 
- 
type
public Node.Builder type(BaseNode.Type type)
Type of node to add.- Overrides:
 typein classBaseNode.Builder<Node>- See Also:
 BaseNode.Type
 
- 
port
public Node.Builder port(int port)
Required. Port number for the service you are load balancing.- Overrides:
 portin classBaseNode.Builder<Node>
 
- 
weight
public Node.Builder weight(Integer weight)
Weight of node to add. If theAlgorithm#WEIGHTED_ROUND_ROBINload 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.- Overrides:
 weightin classBaseNode.Builder<Node>
 
- 
from
public Node.Builder from(Node in)
- Overrides:
 fromin classBaseNode.Builder<Node>
 
 - 
 
 -