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,org.jclouds.ec2.domain.KeyPair>
@Singleton
public class ImportOrReturnExistingKeypair
- extends Object
- implements com.google.common.base.Function<RegionNameAndPublicKeyMaterial,org.jclouds.ec2.domain.KeyPair>
| 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 org.jclouds.logging.Logger logger
ec2Api
protected final AWSEC2Api ec2Api
ImportOrReturnExistingKeypair
@Inject
public ImportOrReturnExistingKeypair(AWSEC2Api ec2Api)
apply
public org.jclouds.ec2.domain.KeyPair apply(RegionNameAndPublicKeyMaterial from)
- Specified by:
apply in interface com.google.common.base.Function<RegionNameAndPublicKeyMaterial,org.jclouds.ec2.domain.KeyPair>
addFingerprintToKeyPair
public org.jclouds.ec2.domain.KeyPair addFingerprintToKeyPair(String publicKeyMaterial,
org.jclouds.ec2.domain.KeyPair keyPair)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.