org.jclouds.cloudloadbalancers.domain
Class NodeAttributes

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

public class NodeAttributes
extends Object

Author:
Dan Lo Bianco
See Also:

Nested Class Summary
static class NodeAttributes.Builder
           
 
Field Summary
protected  String condition
           
protected  Integer weight
           
 
Constructor Summary
NodeAttributes()
           
 
Method Summary
 NodeAttributes condition(String condition)
           
 boolean equals(Object obj)
           
static
<T extends BaseNode<T>>
NodeAttributes
fromNode(T n)
           
 int hashCode()
           
 String toString()
           
 NodeAttributes weight(int weight)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

condition

protected String condition

weight

protected Integer weight
Constructor Detail

NodeAttributes

public NodeAttributes()
Method Detail

condition

public NodeAttributes condition(String condition)

weight

public NodeAttributes weight(int weight)

fromNode

public static <T extends BaseNode<T>> NodeAttributes fromNode(T n)

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-2012 jclouds. All Rights Reserved.