Class AccessRuleWithId
- java.lang.Object
-
- org.jclouds.rackspace.cloudloadbalancers.v1.domain.AccessRule
-
- org.jclouds.rackspace.cloudloadbalancers.v1.domain.AccessRuleWithId
-
public class AccessRuleWithId extends AccessRule
The same asAccessRule
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
Constructors Constructor Description AccessRuleWithId(int id, String address, AccessRule.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getId()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
Methods inherited from class org.jclouds.rackspace.cloudloadbalancers.v1.domain.AccessRule
allow, deny, getAddress, getType
-
-
-
-
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 classAccessRule
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAccessRule
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
- Overrides:
string
in classAccessRule
-
toString
public String toString()
- Overrides:
toString
in classAccessRule
-
-