org.jclouds.cloudloadbalancers.domain.internal
Class BaseNode.Builder<T extends BaseNode<T>>

java.lang.Object
  extended by org.jclouds.cloudloadbalancers.domain.internal.BaseNode.Builder<T>
Direct Known Subclasses:
Node.Builder, NodeRequest.Builder
Enclosing class:
BaseNode<T extends BaseNode<T>>

public static class BaseNode.Builder<T extends BaseNode<T>>
extends Object


Field Summary
protected  String address
           
protected  BaseNode.Condition condition
           
protected  int port
           
protected  Integer weight
           
 
Constructor Summary
BaseNode.Builder()
           
 
Method Summary
 BaseNode.Builder<T> address(String address)
           
 BaseNode<T> build()
           
 BaseNode.Builder<T> condition(BaseNode.Condition condition)
           
 BaseNode.Builder<T> from(T in)
           
 BaseNode.Builder<T> port(int port)
           
 BaseNode.Builder<T> weight(Integer weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

protected String address

port

protected int port

condition

protected BaseNode.Condition condition

weight

protected Integer weight
Constructor Detail

BaseNode.Builder

public BaseNode.Builder()
Method Detail

address

public BaseNode.Builder<T> address(String address)

port

public BaseNode.Builder<T> port(int port)

condition

public BaseNode.Builder<T> condition(BaseNode.Condition condition)

weight

public BaseNode.Builder<T> weight(Integer weight)

build

public BaseNode<T> build()

from

public BaseNode.Builder<T> from(T in)


Copyright © 2009-2011 jclouds. All Rights Reserved.