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
TenantIdAndNames to groups. |
SecurityGroup |
getSecurityGroup() |
protected com.google.common.base.MoreObjects.ToStringHelper |
string() |
String |
toString() |
equals, fromRegionAndName, fromSlashEncoded, getName, getRegion, hashCode, slashEncodeprotected 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()
TenantIdAndNames 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 RegionAndNamepublic String toString()
toString in class RegionAndNameCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.