Class NovaSecurityGroupInRegionToSecurityGroup
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.compute.functions.NovaSecurityGroupInRegionToSecurityGroup
-
- All Implemented Interfaces:
com.google.common.base.Function<SecurityGroupInRegion,SecurityGroup>
,Function<SecurityGroupInRegion,SecurityGroup>
@Singleton public class NovaSecurityGroupInRegionToSecurityGroup extends Object implements com.google.common.base.Function<SecurityGroupInRegion,SecurityGroup>
A function for transforming a Nova-specific SecurityGroup into a generic SecurityGroup object.
-
-
Constructor Summary
Constructors Constructor Description NovaSecurityGroupInRegionToSecurityGroup(com.google.common.base.Supplier<Map<String,Location>> locationIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityGroup
apply(SecurityGroupInRegion groupInRegion)
-
-
-
Method Detail
-
apply
public SecurityGroup apply(SecurityGroupInRegion groupInRegion)
- Specified by:
apply
in interfacecom.google.common.base.Function<SecurityGroupInRegion,SecurityGroup>
- Specified by:
apply
in interfaceFunction<SecurityGroupInRegion,SecurityGroup>
-
-