org.jclouds.ec2.compute.functions
Class CreateUniqueKeyPair

java.lang.Object
  extended by 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

Field Summary
protected  EC2Client ec2Client
           
protected  Logger logger
           
protected  GroupNamingConvention.Factory namingConvention
           
 
Constructor Summary
CreateUniqueKeyPair(EC2Client ec2Client, GroupNamingConvention.Factory namingConvention)
           
 
Method Summary
 KeyPair apply(RegionAndName from)
           
 
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
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger

ec2Client

protected final EC2Client ec2Client

namingConvention

protected final GroupNamingConvention.Factory namingConvention
Constructor Detail

CreateUniqueKeyPair

@Inject
public CreateUniqueKeyPair(EC2Client ec2Client,
                                  GroupNamingConvention.Factory namingConvention)
Method Detail

apply

public KeyPair apply(RegionAndName from)
Specified by:
apply in interface com.google.common.base.Function<RegionAndName,KeyPair>


Copyright © 2009-2012 jclouds. All Rights Reserved.