@Singleton public class CreateUniqueKeyPair extends Object implements com.google.common.base.Function<RegionAndName,KeyPair>
Modifier and Type | Field and Description |
---|---|
protected EC2Client |
ec2Client |
protected Logger |
logger |
protected com.google.common.base.Supplier<String> |
randomSuffix |
Constructor and Description |
---|
CreateUniqueKeyPair(EC2Client ec2Client,
com.google.common.base.Supplier<String> randomSuffix) |
protected final EC2Client ec2Client
protected final com.google.common.base.Supplier<String> randomSuffix
public KeyPair apply(RegionAndName from)
apply
in interface com.google.common.base.Function<RegionAndName,KeyPair>
Copyright © 2009-2012 jclouds. All Rights Reserved.