com.cloudcontrolled.api.model
Class SSHKey

java.lang.Object
  extended by com.cloudcontrolled.api.model.AbstractModel
      extended by com.cloudcontrolled.api.model.SSHKey

public class SSHKey
extends AbstractModel

The SSHKey object defines the resource 'public ssh key' which is registered for an user.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
SSHKey()
           Constructor for SSHKey.
 
Method Summary
 String getKey()
           Getter for the field key.
 String getKeyId()
           getKeyId.
 void setKey(String key)
           Setter for the field key.
 void setKeyId(String keyId)
           setKeyId.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSHKey

public SSHKey()

Constructor for SSHKey.

Method Detail

getKey

public String getKey()

Getter for the field key.

Returns:
key the sshKey

setKey

public void setKey(String key)

Setter for the field key.

Parameters:
key - the sshKey to set

getKeyId

public String getKeyId()

getKeyId.

Returns:
keyId the ssh key id

setKeyId

public void setKeyId(String keyId)

setKeyId.

Parameters:
keyId - the ssh key id to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.