com.xerox.amazonws.ec2
Class KeyPairInfo

java.lang.Object
  extended by com.xerox.amazonws.ec2.KeyPairInfo

public class KeyPairInfo
extends Object

An instance of this class represents an EC2 keypair.

Instances are returned by calls to Jec2.createKeyPair(String), Jec2.describeKeyPairs(List), and Jec2.describeKeyPairs(String[]).


Constructor Summary
KeyPairInfo(String keyName, String keyFingerprint, String keyMaterial)
           
 
Method Summary
 String getKeyFingerprint()
           
 String getKeyMaterial()
           
 String getKeyName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyPairInfo

public KeyPairInfo(String keyName,
                   String keyFingerprint,
                   String keyMaterial)
Method Detail

getKeyName

public String getKeyName()

getKeyFingerprint

public String getKeyFingerprint()

getKeyMaterial

public String getKeyMaterial()

toString

public String toString()
Overrides:
toString in class Object