@Singleton public class ImportOrReturnExistingKeypair extends Object implements com.google.common.base.Function<RegionNameAndPublicKeyMaterial,org.jclouds.ec2.domain.KeyPair>
| Modifier and Type | Field and Description |
|---|---|
protected AWSEC2Api |
ec2Api |
protected org.jclouds.logging.Logger |
logger |
| Constructor and Description |
|---|
ImportOrReturnExistingKeypair(AWSEC2Api ec2Api) |
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.ec2.domain.KeyPair |
addFingerprintToKeyPair(String publicKeyMaterial,
org.jclouds.ec2.domain.KeyPair keyPair) |
org.jclouds.ec2.domain.KeyPair |
apply(RegionNameAndPublicKeyMaterial from) |
@Named(value="jclouds.compute") protected org.jclouds.logging.Logger logger
protected final AWSEC2Api ec2Api
@Inject public ImportOrReturnExistingKeypair(AWSEC2Api ec2Api)
public org.jclouds.ec2.domain.KeyPair apply(RegionNameAndPublicKeyMaterial from)
apply in interface com.google.common.base.Function<RegionNameAndPublicKeyMaterial,org.jclouds.ec2.domain.KeyPair>public org.jclouds.ec2.domain.KeyPair addFingerprintToKeyPair(String publicKeyMaterial, org.jclouds.ec2.domain.KeyPair keyPair)
Copyright © 2016. All rights reserved.