public class NeutronSecurityGroupInRegion extends RegionAndName
Modifier and Type | Field and Description |
---|---|
protected com.google.common.collect.Multimap<TenantIdAndName,SecurityGroup> |
groupsByName |
protected SecurityGroup |
securityGroup |
name, NAME_FUNCTION, REGION_FUNCTION, regionId
Constructor and Description |
---|
NeutronSecurityGroupInRegion(SecurityGroup securityGroup,
String regionId,
Iterable<SecurityGroup> allGroupsInRegion) |
Modifier and Type | Method and Description |
---|---|
Map<TenantIdAndName,Collection<SecurityGroup>> |
getGroupsByName()
Returns a map of group
TenantIdAndName s to groups. |
SecurityGroup |
getSecurityGroup() |
protected com.google.common.base.MoreObjects.ToStringHelper |
string() |
String |
toString() |
equals, fromRegionAndName, fromSlashEncoded, getName, getRegion, hashCode, slashEncode
protected final SecurityGroup securityGroup
protected final com.google.common.collect.Multimap<TenantIdAndName,SecurityGroup> groupsByName
public NeutronSecurityGroupInRegion(SecurityGroup securityGroup, String regionId, Iterable<SecurityGroup> allGroupsInRegion)
public SecurityGroup getSecurityGroup()
public Map<TenantIdAndName,Collection<SecurityGroup>> getGroupsByName()
TenantIdAndName
s to groups.
The returned value is a collection, to take into account the possibility that certain clouds
may permit duplicate group names.protected com.google.common.base.MoreObjects.ToStringHelper string()
string
in class RegionAndName
public String toString()
toString
in class RegionAndName
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.