org.jclouds.glesys.options
Class UpdateServerOptions

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

public class UpdateServerOptions
extends org.jclouds.http.options.BaseHttpRequestOptions


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

Constructor Detail

UpdateServerOptions

public UpdateServerOptions()
Method Detail

diskSizeGB

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


memorySizeMB

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


cpuCores

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


transferGB

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


hostname

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


description

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



Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.