Class CreateUniqueKeyPair
- java.lang.Object
 - 
- org.jclouds.ec2.compute.functions.CreateUniqueKeyPair
 
 
- 
- All Implemented Interfaces:
 com.google.common.base.Function<RegionAndName,KeyPair>,Function<RegionAndName,KeyPair>
@Singleton public class CreateUniqueKeyPair extends Object implements com.google.common.base.Function<RegionAndName,KeyPair>
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected EC2Apiec2Apiprotected Loggerloggerprotected GroupNamingConvention.FactorynamingConvention 
- 
Constructor Summary
Constructors Constructor Description CreateUniqueKeyPair(EC2Api ec2Api, GroupNamingConvention.Factory namingConvention) 
 - 
 
- 
- 
Field Detail
- 
logger
@Named("jclouds.compute") protected Logger logger 
- 
ec2Api
protected final EC2Api ec2Api
 
- 
namingConvention
protected final GroupNamingConvention.Factory namingConvention
 
 - 
 
- 
Constructor Detail
- 
CreateUniqueKeyPair
@Inject public CreateUniqueKeyPair(EC2Api ec2Api, GroupNamingConvention.Factory namingConvention)
 
 - 
 
- 
Method Detail
- 
apply
public KeyPair apply(RegionAndName from)
- Specified by:
 applyin interfacecom.google.common.base.Function<RegionAndName,KeyPair>- Specified by:
 applyin interfaceFunction<RegionAndName,KeyPair>
 
 - 
 
 -