org.jclouds.glesys.options
Class CreateServerOptions

java.lang.Object
  extended by org.jclouds.glesys.options.CreateServerOptions
All Implemented Interfaces:
org.jclouds.rest.Binder, org.jclouds.rest.MapBinder

public class CreateServerOptions
extends Object
implements org.jclouds.rest.MapBinder


Nested Class Summary
static class CreateServerOptions.Builder
           
 
Constructor Summary
CreateServerOptions()
           
 
Method Summary
<R extends org.jclouds.http.HttpRequest>
R
bindToRequest(R request, Map<String,Object> postParams)
           
<R extends org.jclouds.http.HttpRequest>
R
bindToRequest(R request, Object input)
           
 CreateServerOptions description(String description)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 CreateServerOptions ip(String ip)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateServerOptions

public CreateServerOptions()
Method Detail

bindToRequest

public <R extends org.jclouds.http.HttpRequest> R bindToRequest(R request,
                                                                Map<String,Object> postParams)
Specified by:
bindToRequest in interface org.jclouds.rest.MapBinder

description

public CreateServerOptions description(String description)
Parameters:
description - the description of the server

ip

public CreateServerOptions ip(String ip)
Parameters:
ip - the ip address to assign to the server

bindToRequest

public <R extends org.jclouds.http.HttpRequest> R bindToRequest(R request,
                                                                Object input)
Specified by:
bindToRequest in interface org.jclouds.rest.Binder

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


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