org.jclouds.cloudloadbalancers.domain
Class LoadBalancerAttributes

java.lang.Object
  extended by org.jclouds.cloudloadbalancers.domain.LoadBalancerAttributes

public class LoadBalancerAttributes
extends Object

Author:
Adrian Cole
See Also:

Nested Class Summary
static class LoadBalancerAttributes.Builder
           
 
Field Summary
protected  String algorithm
           
protected  String name
           
protected  Integer port
           
protected  String protocol
           
 
Constructor Summary
LoadBalancerAttributes()
           
 
Method Summary
 LoadBalancerAttributes algorithm(String algorithm)
           
 boolean equals(Object obj)
           
static
<T extends BaseLoadBalancer<?,T>>
LoadBalancerAttributes
fromLoadBalancer(T lb)
           
 int hashCode()
           
 LoadBalancerAttributes name(String name)
           
 LoadBalancerAttributes port(int port)
           
 LoadBalancerAttributes protocol(String protocol)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name

protocol

protected String protocol

port

protected Integer port

algorithm

protected String algorithm
Constructor Detail

LoadBalancerAttributes

public LoadBalancerAttributes()
Method Detail

name

public LoadBalancerAttributes name(String name)

protocol

public LoadBalancerAttributes protocol(String protocol)

port

public LoadBalancerAttributes port(int port)

algorithm

public LoadBalancerAttributes algorithm(String algorithm)

fromLoadBalancer

public static <T extends BaseLoadBalancer<?,T>> LoadBalancerAttributes fromLoadBalancer(T lb)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.