com.cloudcontrolled.api.request
Class CreateSSHKeyRequest

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

@Method(value=POST)
@Path(value="/user/${user}/key/")
public class CreateSSHKeyRequest
extends Request<CreateSSHKeyResponse>

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

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

Constructor Summary
CreateSSHKeyRequest()
           Constructor for CreateSSHKeyRequest.
 
Method Summary
 String getSshKey()
           Getter for the field sshKey.
 String getUserName()
           Getter for the field userName.
 void setSshKey(String sshKey)
           Setter for the field sshKey.
 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

CreateSSHKeyRequest

public CreateSSHKeyRequest()

Constructor for CreateSSHKeyRequest.

Method Detail

getUserName

public String getUserName()

Getter for the field userName.

Returns:
a String object.

setUserName

public void setUserName(String userName)

Setter for the field userName.

Parameters:
userName - a String object.

getSshKey

public String getSshKey()

Getter for the field sshKey.

Returns:
a String object.

setSshKey

public void setSshKey(String sshKey)

Setter for the field sshKey.

Parameters:
sshKey - a String object.


Copyright © 2012. All Rights Reserved.