List of usage examples for com.amazonaws.services.ec2.model DeleteKeyPairRequest getKeyName
public String getKeyName()
The name of the key pair.
From source file:jp.primecloud.auto.aws.typica.EucaEc2Client.java
License:Open Source License
@Override public DeleteKeyPairResult deleteKeyPair(DeleteKeyPairRequest deleteKeyPairRequest) { try {// ww w . j a v a2s . c o m jec2.deleteKeyPair(deleteKeyPairRequest.getKeyName()); return new DeleteKeyPairResult(); } catch (EC2Exception e) { throw new AmazonClientException(e); } }