Package org.jclouds.aws.ec2.functions
Class ImportOrReturnExistingKeypair
- java.lang.Object
-
- org.jclouds.aws.ec2.functions.ImportOrReturnExistingKeypair
-
- All Implemented Interfaces:
com.google.common.base.Function<RegionNameAndPublicKeyMaterial,KeyPair>
,Function<RegionNameAndPublicKeyMaterial,KeyPair>
@Singleton public class ImportOrReturnExistingKeypair extends Object implements com.google.common.base.Function<RegionNameAndPublicKeyMaterial,KeyPair>
-
-
Constructor Summary
Constructors Constructor Description ImportOrReturnExistingKeypair(AWSEC2Api ec2Api)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyPair
addFingerprintToKeyPair(String publicKeyMaterial, KeyPair keyPair)
KeyPair
apply(RegionNameAndPublicKeyMaterial from)
-
-
-
Constructor Detail
-
ImportOrReturnExistingKeypair
@Inject public ImportOrReturnExistingKeypair(AWSEC2Api ec2Api)
-
-
Method Detail
-
apply
public KeyPair apply(RegionNameAndPublicKeyMaterial from)
- Specified by:
apply
in interfacecom.google.common.base.Function<RegionNameAndPublicKeyMaterial,KeyPair>
- Specified by:
apply
in interfaceFunction<RegionNameAndPublicKeyMaterial,KeyPair>
-
-