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

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

public static class BaseLoadBalancer.Builder<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>>
extends Object


Field Summary
protected  String algorithm
           
protected  String name
           
protected  Set<N> nodes
           
protected  Integer port
           
protected  String protocol
           
 
Constructor Summary
BaseLoadBalancer.Builder()
           
 
Method Summary
 BaseLoadBalancer.Builder<N,T> algorithm(String algorithm)
           
 BaseLoadBalancer<N,T> build()
           
 BaseLoadBalancer.Builder<N,T> from(T baseLoadBalancer)
           
 BaseLoadBalancer.Builder<N,T> name(String name)
           
 BaseLoadBalancer.Builder<N,T> node(N node)
           
 BaseLoadBalancer.Builder<N,T> nodes(Iterable<N> nodes)
           
 BaseLoadBalancer.Builder<N,T> port(Integer port)
           
 BaseLoadBalancer.Builder<N,T> protocol(String protocol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

protocol

protected String protocol

port

protected Integer port

algorithm

protected String algorithm

nodes

protected Set<N extends BaseNode<N>> nodes
Constructor Detail

BaseLoadBalancer.Builder

public BaseLoadBalancer.Builder()
Method Detail

name

public BaseLoadBalancer.Builder<N,T> name(String name)

protocol

public BaseLoadBalancer.Builder<N,T> protocol(String protocol)

port

public BaseLoadBalancer.Builder<N,T> port(Integer port)

algorithm

public BaseLoadBalancer.Builder<N,T> algorithm(String algorithm)

nodes

public BaseLoadBalancer.Builder<N,T> nodes(Iterable<N> nodes)

node

public BaseLoadBalancer.Builder<N,T> node(N node)

build

public BaseLoadBalancer<N,T> build()

from

public BaseLoadBalancer.Builder<N,T> from(T baseLoadBalancer)


Copyright © 2009-2011 jclouds. All Rights Reserved.