org.jclouds.joyent.cloudapi.v6_5.compute.internal
Class KeyAndPrivateKey

java.lang.Object
  extended by org.jclouds.joyent.cloudapi.v6_5.compute.internal.KeyAndPrivateKey

public class KeyAndPrivateKey
extends Object

Author:
Adrian Cole

Field Summary
protected  Key key
           
protected  String privateKey
           
 
Constructor Summary
protected KeyAndPrivateKey(Key key, String privateKey)
           
 
Method Summary
 boolean equals(Object obj)
           
static KeyAndPrivateKey fromKeyAndPrivateKey(Key key, String privateKey)
           
 Key getKey()
           
 String getPrivateKey()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

protected final Key key

privateKey

protected final String privateKey
Constructor Detail

KeyAndPrivateKey

protected KeyAndPrivateKey(Key key,
                           String privateKey)
Method Detail

fromKeyAndPrivateKey

public static KeyAndPrivateKey fromKeyAndPrivateKey(Key key,
                                                    String privateKey)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getKey

public Key getKey()

getPrivateKey

public String getPrivateKey()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.