org.jclouds.digitalocean.domain
Class SshKey
java.lang.Object
org.jclouds.digitalocean.domain.SshKey
public class SshKey
- extends Object
A SSH Key.
- Author:
- Sergi Castro, Ignasi Barrera
SshKey
@ConstructorProperties(value={"id","name","ssh_pub_key"})
public SshKey(int id,
String name,
@Nullable
PublicKey publicKey)
getId
public int getId()
getName
public String getName()
getPublicKey
public PublicKey getPublicKey()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.