com.cloudcontrolled.api.request
Class CreateWorkerRequest

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

@Method(value=POST)
@Path(value="/app/${app}/deployment/${dep}/worker/")
public class CreateWorkerRequest
extends Request<CreateWorkerResponse>

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

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

Constructor Summary
CreateWorkerRequest()
           Constructor for CreateWorkerRequest.
 
Method Summary
 String getApplicationName()
           Getter for the field applicationName.
 String getDeploymentName()
           Getter for the field deploymentName.
 String getWorker()
           Getter for the field worker.
 void setApplicationName(String applicationName)
           Setter for the field applicationName.
 void setDeploymentName(String deploymentName)
           Setter for the field deploymentName.
 void setWorker(String worker)
           Setter for the field worker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateWorkerRequest

public CreateWorkerRequest()

Constructor for CreateWorkerRequest.

Method Detail

getApplicationName

public String getApplicationName()

Getter for the field applicationName.

Returns:
applicationName

setApplicationName

public void setApplicationName(String applicationName)

Setter for the field applicationName.

Parameters:
applicationName - a String object.

getDeploymentName

public String getDeploymentName()

Getter for the field deploymentName.

Returns:
deploymentName

setDeploymentName

public void setDeploymentName(String deploymentName)

Setter for the field deploymentName.

Parameters:
deploymentName - a String object.

getWorker

public String getWorker()

Getter for the field worker.

Returns:
worker

setWorker

public void setWorker(String worker)

Setter for the field worker.

Parameters:
worker - a String object.


Copyright © 2012. All Rights Reserved.