Package org.jclouds.glesys.options
Class UpdateServerOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.glesys.options.UpdateServerOptions
-
- All Implemented Interfaces:
HttpRequestOptions
- Direct Known Subclasses:
CloneServerOptions
public class UpdateServerOptions extends BaseHttpRequestOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateServerOptions.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description UpdateServerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateServerOptions
cpuCores(int cpucores)
Configure the number of CPU cores allocated to the serverUpdateServerOptions
description(String description)
Configure the description of the serverUpdateServerOptions
diskSizeGB(int diskSizeGB)
Configure the size of the disk, in GB, of the serverUpdateServerOptions
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 serverUpdateServerOptions
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
-
-
-
-
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
-
-