List of usage examples for com.amazonaws.services.ec2.model KeyPair setKeyMaterial
public void setKeyMaterial(String keyMaterial)
An unencrypted PEM encoded RSA private key.
From source file:jp.primecloud.auto.aws.typica.converter.KeyPairConverter.java
License:Open Source License
@Override protected KeyPair convertObject(KeyPairInfo from) { KeyPair to = new KeyPair(); to.setKeyName(from.getKeyName());/* w ww . j a v a 2s. com*/ to.setKeyMaterial(from.getKeyMaterial()); to.setKeyFingerprint(from.getKeyFingerprint()); return to; }