org.jclouds.rackspace.cloudloadbalancers.v1.domain
Class AccessRuleWithId

java.lang.Object
  extended by org.jclouds.rackspace.cloudloadbalancers.v1.domain.AccessRule
      extended by org.jclouds.rackspace.cloudloadbalancers.v1.domain.AccessRuleWithId

public class AccessRuleWithId
extends AccessRule

The same as AccessRule but this will have an id as assigned by the Cloud Load Balancers service.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jclouds.rackspace.cloudloadbalancers.v1.domain.AccessRule
AccessRule.Type
 
Constructor Summary
AccessRuleWithId(int id, String address, AccessRule.Type type)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getId()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 String toString()
           
 
Methods inherited from class org.jclouds.rackspace.cloudloadbalancers.v1.domain.AccessRule
allow, deny, getAddress, getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccessRuleWithId

public AccessRuleWithId(int id,
                        String address,
                        AccessRule.Type type)
Method Detail

getId

public int getId()

hashCode

public int hashCode()
Overrides:
hashCode in class AccessRule

equals

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

string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class AccessRule

toString

public String toString()
Overrides:
toString in class AccessRule


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.