org.jclouds.ec2.compute.functions
Class CreateUniqueKeyPair
java.lang.Object
org.jclouds.ec2.compute.functions.CreateUniqueKeyPair
- All Implemented Interfaces:
- com.google.common.base.Function<RegionAndName,KeyPair>
@Singleton
public class CreateUniqueKeyPair
- extends Object
- implements com.google.common.base.Function<RegionAndName,KeyPair>
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
logger
@Named(value="jclouds.compute")
protected Logger logger
ec2Client
protected final EC2Client ec2Client
randomSuffix
protected final com.google.common.base.Supplier<String> randomSuffix
CreateUniqueKeyPair
@Inject
public CreateUniqueKeyPair(EC2Client ec2Client,
com.google.common.base.Supplier<String> randomSuffix)
apply
public KeyPair apply(RegionAndName from)
- Specified by:
apply
in interface com.google.common.base.Function<RegionAndName,KeyPair>
Copyright © 2009-2011 jclouds. All Rights Reserved.