com.cloudcontrolled.api.request
Class SSHKeyRequest

java.lang.Object
  extended by com.cloudcontrolled.api.request.Request<SSHKeyResponse>
      extended by com.cloudcontrolled.api.request.SSHKeyRequest
All Implemented Interfaces:
Serializable

@Method(value=GET)
@Path(value="/user/${user}/key/${keyId}")
public class SSHKeyRequest
extends Request<SSHKeyResponse>

Or for reference have a look here: https://api.cloudcontrol.com/doc/#KeyGET

Author:
Denis Neuling (denisneuling@gmail.com)
See Also:
Serialized Form

Constructor Summary
SSHKeyRequest()
           Constructor for SSHKeyRequest.
 
Method Summary
 String getSshKeyId()
           Getter for the field sshKeyId.
 String getUserName()
           Getter for the field userName.
 void setSshKeyId(String sshKeyId)
           Setter for the field sshKeyId.
 void setUserName(String userName)
           Setter for the field userName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSHKeyRequest

public SSHKeyRequest()

Constructor for SSHKeyRequest.

Method Detail

getUserName

public String getUserName()

Getter for the field userName.

Returns:
userName

setUserName

public void setUserName(String userName)

Setter for the field userName.

Parameters:
userName - a String object.

getSshKeyId

public String getSshKeyId()

Getter for the field sshKeyId.

Returns:
sshKeyId

setSshKeyId

public void setSshKeyId(String sshKeyId)

Setter for the field sshKeyId.

Parameters:
sshKeyId - a String object.


Copyright © 2012. All Rights Reserved.