org.jclouds.glesys.options
Class EditServerOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.glesys.options.EditServerOptions
All Implemented Interfaces:
HttpRequestOptions
Direct Known Subclasses:
CloneServerOptions

public class EditServerOptions
extends BaseHttpRequestOptions

Author:
Adam Lowe

Nested Class Summary
static class EditServerOptions.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
EditServerOptions()
           
 
Method Summary
 EditServerOptions cpuCores(int cpucores)
          Configure the number of CPU cores allocated to the server
 EditServerOptions description(String description)
          Configure the description of the server
 EditServerOptions diskSizeGB(int diskSizeGB)
          Configure the size of the disk, in GB, of the server
 EditServerOptions hostname(String hostname)
          Configure the host name of the server (must be unique within the GleSYS account)
 EditServerOptions memorySizeMB(int memorySizeMB)
          Configure the amount of RAM, in MB, allocated to the server
 EditServerOptions transferGB(int transferGB)
          Configure the transfer setting for the server
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EditServerOptions

public EditServerOptions()
Method Detail

diskSizeGB

public EditServerOptions diskSizeGB(int diskSizeGB)
Configure the size of the disk, in GB, of the server


memorySizeMB

public EditServerOptions memorySizeMB(int memorySizeMB)
Configure the amount of RAM, in MB, allocated to the server


cpuCores

public EditServerOptions cpuCores(int cpucores)
Configure the number of CPU cores allocated to the server


transferGB

public EditServerOptions transferGB(int transferGB)
Configure the transfer setting for the server


hostname

public EditServerOptions hostname(String hostname)
Configure the host name of the server (must be unique within the GleSYS account)


description

public EditServerOptions description(String description)
Configure the description of the server



Copyright © 2009-2012 jclouds. All Rights Reserved.