public class AccessRuleWithId extends AccessRule
AccessRule but this will have an id as assigned by the Cloud Load Balancers service.AccessRule.Type| Constructor and Description |
|---|
AccessRuleWithId(int id,
String address,
AccessRule.Type type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getId() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
allow, deny, getAddress, getTypepublic AccessRuleWithId(int id,
String address,
AccessRule.Type type)
public int getId()
public int hashCode()
hashCode in class AccessRulepublic boolean equals(Object obj)
equals in class AccessRuleprotected com.google.common.base.Objects.ToStringHelper string()
string in class AccessRulepublic String toString()
toString in class AccessRuleCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.