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, getType
public AccessRuleWithId(int id, String address, AccessRule.Type type)
public int getId()
public int hashCode()
hashCode
in class AccessRule
public boolean equals(Object obj)
equals
in class AccessRule
protected com.google.common.base.Objects.ToStringHelper string()
string
in class AccessRule
public String toString()
toString
in class AccessRule
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.